Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/phpinfo-print/phpinfo-print.php+36
require_once(lib/phpinfo-class.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.05ms] Passed 4 tests
Analyzing server-side resources used by PHPINFO Print
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.46 ▼2.35 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.41 ▼3.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.18 ▼7.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.23 ▼14.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.68 ▲0.72 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
PHPINFO Print: 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,815 ▲29 | 13.20 ▼1.15 | 1.86 ▼0.30 | 42.21 ▼2.71 |
Dashboard /wp-admin | 2,221 ▲21 | 5.91 ▲0.05 | 116.05 ▲7.95 | 40.57 ▼0.23 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.02 ▲0.01 | 33.70 ▼2.66 | 35.65 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.35 ▲0.08 | 636.42 ▼12.50 | 48.90 ▼7.39 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.19 ▼0.11 | 102.64 ▲0.11 | 43.39 ▼4.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/phpinfo-print/lib/phpinfoMenu.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
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
4 plugin tags: settings, webserver, hosting data, phpinfo
phpinfo-print/phpinfo-print.php Passed 13 tests
The main PHP file in "PHPINFO Print" ver. 1.3.0 adds more information about the plugin and also serves as the entry point for this plugin
41 characters long description:
Displays phpinfo() in a traditional style
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin60 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 23 | 60 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 5 | 83.33% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
PNG images were not found in this plugin