Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼139.55ms] Passed 4 tests
A check of server-side resources used by Beautiful Steps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 35.33 ▲11.62 |
Dashboard /wp-admin | 3.13 ▲0.07 | 45.48 ▼2.10 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 54.76 ▲3.52 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 95.73 ▼559.50 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 35.43 ▼0.13 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Beautiful Steps
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,917 ▲323 | 17.54 ▲2.00 | 7.75 ▼2.17 | 54.30 ▲4.95 |
Dashboard /wp-admin | 3,203 ▲272 | 7.45 ▲1.34 | 171.16 ▲18.46 | 118.15 ▼9.24 |
Posts /wp-admin/edit.php | 3,004 ▲265 | 4.04 ▲1.34 | 90.55 ▲21.17 | 95.68 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,536 ▼79 | 18.43 ▼3.40 | 365.28 ▲67.29 | 118.83 ▲1.82 |
Media Library /wp-admin/upload.php | 1,850 ▲43 | 4.95 ▼0.07 | 127.75 ▼41.91 | 129.34 ▲1.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/beautiful-steps/inc/beautiful-steps-admin.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/beautiful-steps/beautiful-steps.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beautiful-steps/inc/beautiful-steps-content.php:95
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (screenshot1.png), #2 (screenshot2.png)
beautiful-steps/beautiful-steps.php Passed 13 tests
The main file in "Beautiful Steps" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
38 characters long description:
Generate beautiful steps for your page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,097 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 47 | 29 | 391 |
CSS | 1 | 53 | 1 | 361 |
JavaScript | 1 | 28 | 5 | 289 |
PO File | 1 | 20 | 26 | 56 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 79.67KB | 28.79KB | ▼ 63.87% |
screenshot-2.png | 53.34KB | 18.06KB | ▼ 66.14% |