Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.84ms] Passed 4 tests
Server-side resources used by Shortcode Shhh
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.22 ▼2.96 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.30 ▼18.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.12 ▼2.98 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 101.95 ▲7.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.83 ▼2.75 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
shortcode_shhh_version |
widget_recent-comments |
widget_recent-posts |
shortcode_shhh_closes |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shortcode Shhh
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.34 ▼0.17 | 2.17 ▲0.19 | 43.29 ▼0.75 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▲0.03 | 90.48 ▼11.38 | 44.68 ▲1.15 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 39.38 ▲2.72 | 35.48 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.49 ▼0.05 | 660.78 ▼6.90 | 60.99 ▲6.01 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.14 ▼0.07 | 103.70 ▼6.54 | 47.99 ▼1.71 |
Shortcode Shhh /wp-admin/shortcode-shhh.php | 26 | 0.42 | 0.08 | 17.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- shortcode_shhh_closes
- shortcode_shhh_version
- can_compress_scripts
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/shortcode-shhh.php
- > Network (severe)
wp-admin/shortcode-shhh.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (http://www.sprisemedia.com/contrib/shhh.png)
shortcode-shhh/shortcode-shhh.php 85% from 13 tests
This is the main PHP file of "Shortcode Shhh" version .1..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 162 characters long)
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of ".1...")
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
Good job! No executable or dangerous file extensions detected105 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 34 | 105 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
shhh.png | 64.41KB | 20.78KB | ▼ 67.74% |