This page lists metrics collected by phploc and phpcpd (default settings) on various MyBB plugins. The focus here is on larger plugins (>1000 lines of code) to demonstrate some (maybe interesting) stats on these plugins. Please note that this is by no means an exhaustive list (in fact, I just randomly selected a few that looked large). Also, please take note of the following regarding these metrics:
|
| Plugin Metrics | ||||||||
| Plugin | Files | Size (KB) | Code Lines | Classes | Methods | Functions | Duplicates | Dupe Lines |
|---|---|---|---|---|---|---|---|---|
| Undo Delete 1.2.1 | 1 | 48.30 | 1,256 | 0 | 0 | 30 | 0 | 0 |
| Its My Birthday! 2.2 | 3 | 63.09 | 1,438 | 0 | 0 | 18 | 0 | 0 |
| Soft Delete 1.23 | 6 | 72.17 | 1,440 | 0 | 0 | 52 | 0 | 0 |
| MyShoutbox 1.4 | 5 | 64.14 | 1,654 | 0 | 0 | 23 | 3 | 49 |
| Thank You/Like System 1.2 | 6 | 107.48 | 2,920 | 0 | 0 | 21 | 3 | 63 |
| Help Center 1.5 | 4 | 128.33 | 2,952 | 0 | 0 | 18 | 1 | 16 |
| MyBB Advanced Portal 7 | 7 | 84.31 | 3,120 | 0 | 0 | 18 | 0 | 0 |
| MyNetwork Core 1.0.0 | 12 | 124.42 | 3,197 | 3 | 15 | 32 | 0 | 0 |
| NewPoints Shop 1.4 | 6 | 93.37 | 3,908 | 0 | 0 | 46 | 1 | 7 |
| ezGallery 1.0.7 | 5 | 142.27 | 3,949 | 0 | 0 | 64 | 4 | 287 |
| MyAchievements 1.4 | 15 | 180.25 | 3,959 | 0 | 0 | 18 | 4 | 61 |
| NewPoints 1.7 | 19 | 198.73 | 4,222 | 0 | 0 | 72 | 0 | 0 |
| MyDownloads 1.8 | 13 | 227.74 | 4,729 | 0 | 0 | 23 | 3 | 77 |
| MySupport 0.4 | 4 | 210.63 | 4,860 | 0 | 0 | 54 | 0 | 0 |
| Google SEO 1.1.13 | 20 | 134.54 | 5,648 | 0 | 0 | 126 | 0 | 0 |
| XThreads 1.337 | 16 | 291.14 | 5,934 | 5 | 19 | 146 | 0 | 0 |
| MyBBPublisher 1.4 | 26 | 273.21 | 9,630 | 58 | 638 | 42 | 1 | 14 |
| MyTracker 1.0.2 | 38 | 388.86 | 10,585 | 1 | 4 | 104 | 7 | 271 |
| MyPlaza 0.53 | 31 | 549.43 | 12,792 | 3 | 48 | 332 | 0 | 0 |
| Game Section 1.2 | 38 | 541.96 | 13,508 | 1 | 5 | 36 | 2 | 95 |
| MyPlaza Turbo 0.3.0 | 49 | 1,022.22 | 22,447 | 3 | 48 | 513 | 21 | 433 |
| Columns | |
| Info | Displayed Columns |
|---|---|
|
Files: Number of .php files reported by phploc.
Size: Total size of .php files. Code Lines (non-dupe): Code Lines minus Dupe Lines. Code Lines (non-MyBB-dupe): Code Lines minus Dupe Lines (+MyBB). Cyclomatic Complexity: See Wiki article (mostly relevant for writing test cases, but not so relevant for MyBB plugins as there isn't really a good framework for writing test cases) Code Lines/All Functions: Code lines divided by the number of methods+functions. Duplicates: Number of duplication instances reported by phpcpd. Duplicates (+MyBB): Same as above, but when combined with the MyBB 1.6.0 script (this will show code copied from MyBB itself). |
|

Search
Member List
Calendar
Help