Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.53MB] [CPU: ▼2.69ms] Passed 4 tests
Analyzing server-side resources used by Server Information
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.12 ▼9.96 |
Dashboard /wp-admin | 4.01 ▲0.71 | 51.51 ▲1.20 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 53.54 ▲2.93 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.70 | 88.43 ▼4.39 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 39.97 ▲2.41 |
Server Information /wp-admin/tools.php?page=si_report | 2.63 | 5.57 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 257 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Server Information
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.31 ▼0.08 | 1.79 ▼0.42 | 41.24 ▲0.72 |
Dashboard /wp-admin | 2,199 ▲31 | 5.54 ▼0.18 | 89.04 ▼5.43 | 35.03 ▼7.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.01 | 39.33 ▼1.23 | 34.44 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.23 ▲0.08 | 665.96 ▼26.83 | 58.69 ▲4.87 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▼0.15 | 93.71 ▼10.26 | 45.58 ▲2.60 |
Server Information /wp-admin/tools.php?page=si_report | 1,669 | 3.87 | 71.64 | 112.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 226× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/form/_view/AdminPageFramework_Form_View___Description.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_Form_View___CSS_Base' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Form.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_Base.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_Format_Base' not found in wp-content/plugins/server-information/include/library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_SubMenuPage.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/utility/AdminPageFramework_Debug.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_FieldType_select' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_size.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_Form_View___Generate_FieldName' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/form/_view/generator/field/AdminPageFramework_Form_View___Generate_FlatFieldName.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_Format_Base' not found in wp-content/plugins/server-information/include/library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_PageResource_Style.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_Model__FormSubmission_Base' not found in wp-content/plugins/server-information/include/library/apf/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator_Base.php:8
- > PHP Fatal error
Uncaught Error: Class 'ServerInformation_AdminPageFramework_Form_View___CSS_Base' not found in wp-content/plugins/server-information/include/library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_FieldError.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
server-information/server-information.php Passed 13 tests
Analyzing the main PHP file in "Server Information" version 1.2.0
71 characters long description:
Adds an email report form in the admin area to send server information.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin16,060 lines of code in 253 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 252 | 1,051 | 3,288 | 16,012 |
Markdown | 1 | 24 | 0 | 48 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 253 | |
▷ Abstract classes | 54 | 21.34% |
▷ Concrete classes | 199 | 78.66% |
▷ Final classes | 6 | 3.02% |
Methods | 1,451 | |
▷ Static methods | 199 | 13.71% |
▷ Public methods | 764 | 52.65% |
▷ Protected methods | 283 | 19.50% |
▷ Private methods | 404 | 27.84% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 80 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 80 | 100.00% |
▷ Public constants | 80 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected