Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.12ms] Passed 4 tests
An overview of server-side resources used by WP HTML5 Outliner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.10 ▼0.75 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.52 ▼9.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.47 ▲1.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.67 ▼11.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.80 ▲1.16 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP HTML5 Outliner
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲175 | 13.66 ▼1.09 | 9.84 ▲7.98 | 41.88 ▼4.88 |
Dashboard /wp-admin | 2,206 ▲15 | 5.78 ▲0.89 | 101.15 ▼14.47 | 38.97 ▼7.60 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.00 | 35.34 ▼2.10 | 30.00 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,514 ▼20 | 17.74 ▼5.29 | 686.38 ▲4.87 | 70.94 ▲13.70 |
Media Library /wp-admin/upload.php | 1,382 ▼0 | 4.25 ▲0.07 | 104.61 ▲4.03 | 41.50 ▼3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-html5-outliner/wp-html5-outliner.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: accessibility, html5, outline
wp-html5-outliner/wp-html5-outliner.php Passed 13 tests
The primary PHP file in "WP HTML5 Outliner" version 1.3.0 is used by WordPress to initiate all plugin functionality
77 characters long description:
Adds an HTML 5 outline plus a heading-level outline to the WordPress Toolbar.
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 detected1,122 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 462 | 871 | 619 |
Sass | 1 | 95 | 15 | 217 |
CSS | 2 | 8 | 2 | 210 |
JavaScript | 2 | 68 | 67 | 76 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 19 | 37.25% |
▷ Public methods | 29 | 56.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 43.14% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin