Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼138.35ms] Passed 4 tests
An overview of server-side resources used by Steply
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 31.40 ▲11.47 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.19 ▲0.18 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 48.23 ▲6.03 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 94.61 ▼561.23 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.14 ▲1.62 |
Steply Settings /wp-admin/options-general.php?page=steply | 2.96 | 26.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 2 new options
New WordPress options |
---|
steply_main_color |
steply_text_color |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Steply
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,712 ▲116 | 16.00 ▲0.20 | 10.69 ▲1.41 | 47.79 ▼0.38 |
Dashboard /wp-admin | 2,980 ▲49 | 5.98 ▼0.02 | 139.68 ▼17.96 | 105.53 ▼10.61 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.71 ▼0.00 | 65.82 ▼3.26 | 94.07 ▲8.29 |
Add New Post /wp-admin/post-new.php | 1,677 ▼6 | 18.83 ▲0.12 | 409.52 ▲19.88 | 109.72 ▼0.93 |
Media Library /wp-admin/upload.php | 1,817 ▲10 | 5.04 ▼0.02 | 160.22 ▼1.07 | 115.71 ▼3.23 |
Steply Settings /wp-admin/options-general.php?page=steply | 1,087 | 2.09 | 60.26 | 79.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 2 options
- steply_main_color
- steply_text_color
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=steply
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=steply
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/steply/steply.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/steply/settings.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: howoto, tutorial, steps
steply/steply.php Passed 13 tests
The main PHP script in "Steply" version 0.1 is automatically included on every request by WordPress
62 characters long description:
Adds wikihow style step by step UI, good for tutorial websites
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin128 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 10 | 96 |
CSS | 2 | 2 | 0 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin