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.63ms] Passed 4 tests
Analyzing server-side resources used by Check System Details
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.86 ▼4.00 |
Dashboard /wp-admin | 3.32 ▲0.01 | 53.02 ▲3.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.55 ▲7.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.46 ▼13.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.00 ▼1.26 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Check System Details: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.28 ▼0.45 | 1.73 ▼0.06 | 43.04 ▼0.97 |
Dashboard /wp-admin | 2,213 ▲35 | 5.58 ▼0.18 | 91.01 ▼18.66 | 41.62 ▼5.03 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.98 ▲0.02 | 38.37 ▲1.66 | 34.01 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.16 ▲0.14 | 664.12 ▲19.01 | 52.09 ▼0.51 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.17 ▼0.07 | 100.36 ▼6.97 | 46.17 ▼1.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/check-system-details/admin/htaccess.php
- > /wp-content/plugins/check-system-details/admin/debug_log.php
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/check-system-details/admin/robots_txt.php:5
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-system-details/admin/debug_log.php on line 5
- > PHP Warning
Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-system-details/admin/server_and_database.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/check-system-details/admin/wordpress.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-system-details/admin/debug_log.php on line 6
- > PHP Warning
Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-system-details/admin/server_and_database.php on line 14
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/check-system-details/admin/server_and_database.php:22
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/check-system-details/admin/htaccess.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/check-system-details/admin/wordpress.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/check-system-details/check_system_details.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: debug log, robotstxt, database details, htaccess, server details...
check-system-details/check_system_details.php 77% from 13 tests
The main file in "Check System Details" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("check-system-details.php" instead of "check_system_details.php")
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "5.6")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "4.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected321 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 34 | 27 | 321 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin