Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼146.20ms] Passed 4 tests
A check of server-side resources used by Move bbPress Multisite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 41.25 ▲16.80 |
Dashboard /wp-admin | 3.27 ▲0.22 | 46.35 ▼7.51 |
Posts /wp-admin/edit.php | 3.32 ▲0.21 | 45.67 ▼10.30 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.13 | 92.81 ▼565.22 |
Media Library /wp-admin/upload.php | 3.15 ▲0.15 | 34.03 ▼1.75 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Move bbPress Multisite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲111 | 15.99 ▲0.52 | 7.81 ▼1.91 | 48.69 ▼0.45 |
Dashboard /wp-admin | 2,971 ▲34 | 6.04 ▲0.05 | 134.82 ▼31.08 | 112.81 ▼9.54 |
Posts /wp-admin/edit.php | 2,740 ▲1 | 2.69 ▲0.01 | 74.67 ▲4.46 | 93.15 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,508 ▼175 | 18.36 ▼0.42 | 358.75 ▼32.26 | 112.61 ▼1.33 |
Media Library /wp-admin/upload.php | 1,811 ▲7 | 5.03 ▲0.02 | 152.45 ▲2.47 | 128.86 ▲3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Bbpress_Ms_Move_Copy' not found in wp-content/plugins/move-bbpress-multisite/admin/partials/bbpress-ms-move-admin-display-delete.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/move-bbpress-multisite/admin/partials/bbpress-ms-move-admin-display.php:21
- > PHP Fatal error
Uncaught Error: Class 'Bbpress_Ms_Move_Copy' not found in wp-content/plugins/move-bbpress-multisite/admin/partials/bbpress-ms-move-admin-display-copy.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: multisite, bbpress
move-bbpress-multisite/bbpress-ms-move.php 77% from 13 tests
The main file in "Move bbPress Multisite" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("move-bbpress-multisite.php" instead of "bbpress-ms-move.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,538 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 385 | 507 | 1,054 |
JavaScript | 1 | 113 | 31 | 375 |
CSS | 1 | 5 | 4 | 67 |
PO File | 1 | 10 | 10 | 42 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 3 | 5.45% |
▷ Public methods | 51 | 92.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.27% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected