Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.77MB] [CPU: ▼0.05ms] Passed 4 tests
This is a short check of server-side resources used by Apache Status & Info
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.67 | 43.22 ▲6.49 |
Dashboard /wp-admin | 4.12 ▲0.77 | 52.25 ▼11.35 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 52.18 ▲5.55 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.83 | 87.94 ▼0.89 |
Media Library /wp-admin/upload.php | 4.05 ▲0.81 | 42.86 ▲7.34 |
Apache Information /wp-admin/admin.php?page=hsiss-info | 4.05 | 40.27 |
Reports /wp-admin/admin.php?page=perfopsone-insights | 4.06 | 40.41 |
Control Center /wp-admin/admin.php?page=perfopsone-dashboard | 4.06 | 36.07 |
Apache Status /wp-admin/admin.php?page=hsiss-status | 4.38 | 43.60 |
Apache Configuration /wp-admin/admin.php?page=hsiss-config | 4.05 | 39.35 |
Apache Status & Info /wp-admin/admin.php?page=hsiss-settings | 4.30 | 36.83 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification detected: 1 file (0.56KB) outside of "wp-content/plugins/htaccess-server-info-server-status/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 452 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Apache Status & Info: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 14.17 ▼0.05 | 1.51 ▼0.46 | 37.49 ▼4.54 |
Dashboard /wp-admin | 2,235 ▲58 | 5.53 ▼0.13 | 82.91 ▼3.37 | 36.75 ▼6.35 |
Posts /wp-admin/edit.php | 2,147 ▲50 | 2.01 ▲0.01 | 36.13 ▲1.11 | 30.35 ▼8.77 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.19 ▲0.04 | 689.75 ▲11.19 | 59.21 ▼1.25 |
Media Library /wp-admin/upload.php | 1,440 ▲46 | 4.20 ▼0.00 | 106.03 ▼0.66 | 43.12 ▼1.90 |
Apache Information /wp-admin/admin.php?page=hsiss-info | 827 | 2.05 | 23.63 | 36.20 |
Reports /wp-admin/admin.php?page=perfopsone-insights | 921 | 2.16 | 24.11 | 27.05 |
Control Center /wp-admin/admin.php?page=perfopsone-dashboard | 1,046 | 2.01 | 24.18 | 29.86 |
Apache Status /wp-admin/admin.php?page=hsiss-status | 2,020 | 2.57 | 67.97 | 104.77 |
Apache Configuration /wp-admin/admin.php?page=hsiss-config | 810 | 2.04 | 24.95 | 25.19 |
Apache Status & Info /wp-admin/admin.php?page=hsiss-settings | 942 | 2.01 | 24.38 | 28.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/htaccess-server-info-server-status/public/partials/htaccess-server-info-server-status-public-display.php
- 30× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/htaccess-server-info-server-status/includes/libraries/psr/http-message/ServerRequestInterface.php:43
- > PHP Fatal error
Trait 'cebe\\markdownparser\\block\\CodeTrait' not found in wp-content/plugins/htaccess-server-info-server-status/includes/libraries/markdown/block/FencedCodeTrait.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'cebe\\markdownparser\\Parser' not found in wp-content/plugins/htaccess-server-info-server-status/includes/libraries/markdown/MarkdownParser.php:15
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/htaccess-server-info-server-status/includes/libraries/psr/log/NullLogger.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Upgrader_Skin' not found in wp-content/plugins/htaccess-server-info-server-status/perfopsone/class-upgraderskin.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/htaccess-server-info-server-status/includes/libraries/psr/http-message/ResponseInterface.php:20
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/htaccess-server-info-server-status/perfopsone/class-installer.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/htaccess-server-info-server-status/perfopsone/functions.php:41
- > PHP Warning
Use of undefined constant HSISS_VENDOR_DIR - assumed 'HSISS_VENDOR_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/htaccess-server-info-server-status/includes/libraries/class-libraries.php on line 64
- > PHP Fatal error
Uncaught Error: Call to undefined function Hsiss\\System\\plugin_dir_path() in wp-content/plugins/htaccess-server-info-server-status/includes/system/class-environment.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: server-info, htaccess, server-status, apache, stackdriver
htaccess-server-info-server-status/htaccess-server-info-server-status.php Passed 13 tests
The principal PHP file in "Apache Status & Info" v. 2.13.0 is loaded by WordPress automatically on each request
78 characters long description:
Apache server-info and server-status monitoring right in your WordPress admin.
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
There were no executable files found in this plugin15,044 lines of code in 421 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 109 | 1,095 | 6,297 | 7,077 |
SVG | 286 | 0 | 1 | 5,702 |
JavaScript | 8 | 348 | 696 | 1,032 |
CSS | 9 | 142 | 9 | 915 |
Markdown | 7 | 124 | 0 | 265 |
JSON | 2 | 0 | 0 | 53 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 11.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 13 | |
Traits | 15 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 576 | |
▷ Static methods | 209 | 36.28% |
▷ Public methods | 429 | 74.48% |
▷ Protected methods | 99 | 17.19% |
▷ Private methods | 48 | 8.33% |
Functions | 22 | |
▷ Named functions | 6 | 27.27% |
▷ Anonymous functions | 16 | 72.73% |
Constants | 55 | |
▷ Global constants | 44 | 80.00% |
▷ Class constants | 11 | 20.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin