Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.95ms] Passed 4 tests
Analyzing server-side resources used by Plugin Organiser
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.15 ▼4.40 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.23 ▼3.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.06 ▲1.29 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.82 ▼7.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.04 ▼0.16 |
Plugin Organiser /wp-admin/options-general.php?page=plugin-organiser-settings | 3.27 | 36.89 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Organiser
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.36 ▼1.01 | 1.77 ▼0.33 | 42.73 ▼1.23 |
Dashboard /wp-admin | 2,221 ▲30 | 4.88 ▼1.02 | 110.18 ▼2.10 | 40.16 ▲0.20 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.03 ▼0.01 | 40.21 ▲2.09 | 34.86 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 22.91 ▼0.18 | 626.37 ▼63.03 | 35.77 ▼16.17 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.27 ▲0.07 | 95.75 ▼7.03 | 40.66 ▼8.76 |
Plugin Organiser /wp-admin/options-general.php?page=plugin-organiser-settings | 806 | 2.06 | 27.96 | 37.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
plugin-organiser/plugin-organiser.php 85% from 13 tests
The primary PHP file in "Plugin Organiser" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires PHP: Required version does not match the one declared in readme.txt ("5.2" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,666 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 405 | 187 | 855 |
JavaScript | 5 | 290 | 7 | 619 |
CSS | 2 | 35 | 12 | 118 |
PO File | 1 | 24 | 26 | 74 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
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 | 16 | 29.09% |
▷ Public methods | 53 | 96.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.64% |
Functions | 10 | |
▷ Named functions | 6 | 60.00% |
▷ Anonymous functions | 4 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 images were found in this plugin