Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/t72-output-html/plugin.php+15
require_once(t72/t72.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.29ms] Passed 4 tests
A check of server-side resources used by Output HTML T72
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.23 ▼6.15 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.89 ▼18.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.62 ▼7.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.88 ▼9.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.01 ▼1.77 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Output HTML T72
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.59 ▼0.61 | 4.07 ▲1.96 | 40.52 ▼18.33 |
Dashboard /wp-admin | 2,203 ▲12 | 5.78 ▲0.92 | 100.55 ▼43.94 | 37.46 ▼19.12 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.06 | 34.93 ▼10.04 | 32.03 ▼10.12 |
Add New Post /wp-admin/post-new.php | 1,542 ▲8 | 23.08 ▲0.05 | 641.06 ▼50.38 | 54.06 ▼7.80 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.05 | 97.93 ▼11.96 | 43.30 ▼2.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/t72-output-html/inc_header.php
- > /wp-content/plugins/t72-output-html/inc_footer.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(t72/t72.php): failed to open stream: No such file or directory in wp-content/plugins/t72-output-html/plugin.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 't72/t72.php' (include_path='.:/usr/share/php') in wp-content/plugins/t72-output-html/plugin.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'T72OhConfig' not found in wp-content/plugins/t72-output-html/setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/t72-output-html/functions.php:7
- > PHP Fatal error
Uncaught Error: Class 'T72OhConfig' not found in wp-content/plugins/t72-output-html/home.php:2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== t72-output-html ===
)
t72-output-html/plugin.php 92% from 13 tests
The main PHP file in "Output HTML T72" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("t72-output-html.php" instead of "plugin.php")
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
Success! There were no dangerous files found in this plugin303 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 30 | 21 | 239 |
CSS | 1 | 6 | 0 | 64 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 were not PNG files found in your plugin