Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.10ms] Passed 4 tests
An overview of server-side resources used by Supaz Text Headlines - A simple text headlines plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.23 ▼6.16 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.06 ▲0.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.45 ▼8.26 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 94.30 ▼0.13 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.94 ▼1.86 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
mh_custom_settings |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
mh_settings |
Browser metrics Passed 4 tests
A check of browser resources used by Supaz Text Headlines - A simple text headlines plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲218 | 13.82 ▼0.61 | 8.68 ▲6.71 | 68.31 ▲17.43 |
Dashboard /wp-admin | 2,241 ▲53 | 5.15 ▼0.73 | 114.83 ▼1.14 | 42.75 ▼4.12 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.35 ▲0.33 | 38.72 ▲1.81 | 36.66 ▲3.12 |
Add New Post /wp-admin/post-new.php | 1,710 ▲177 | 22.98 ▼0.19 | 648.65 ▼30.07 | 31.73 ▼31.61 |
Media Library /wp-admin/upload.php | 1,430 ▲39 | 4.47 ▲0.22 | 93.10 ▼8.87 | 42.41 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- mh_settings
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- mh_custom_settings
- widget_recent-comments
Smoke tests 75% 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 50% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/supaz-text-headlines/inc/backend/settings.php
- > /wp-content/plugins/supaz-text-headlines/supaz-text-headlines.php
- > /wp-content/plugins/supaz-text-headlines/inc/frontend/shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: magazine plugin, header plugin, text display plugin, notice plugin, headline plugin...
supaz-text-headlines/supaz-text-headlines.php Passed 13 tests
This is the main PHP file of "Supaz Text Headlines - A simple text headlines plugin" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
33 characters long description:
Simple mega text headlines plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,380 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 94 | 26 | 776 |
CSS | 3 | 10 | 10 | 294 |
JavaScript | 3 | 59 | 57 | 290 |
Markdown | 1 | 9 | 0 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 5 | |
▷ Global constants | 5 | 100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/mh-demo.PNG | 15.36KB | 6.66KB | ▼ 56.62% |