Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.10ms] Passed 4 tests
Server-side resources used by ETD Dynamic Shortcodes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.26 ▼1.49 |
Dashboard /wp-admin | 3.37 ▲0.03 | 48.16 ▼8.58 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 52.06 ▲2.71 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.36 ▼9.02 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.79 ▲3.59 |
Add New /wp-admin/post-new.php?post_type=dynamic_shortcode | 3.34 | 47.52 |
All Shortcodes /wp-admin/edit.php?post_type=dynamic_shortcode | 3.33 | 36.58 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for ETD Dynamic Shortcodes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 13.66 ▼1.01 | 1.85 ▲0.24 | 41.11 ▼0.57 |
Dashboard /wp-admin | 2,227 ▲72 | 5.81 ▲0.15 | 102.43 ▲7.12 | 37.39 ▼5.53 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.02 ▲0.01 | 39.34 ▼2.61 | 36.15 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 18.36 ▲0.75 | 598.61 ▼18.22 | 58.39 ▼2.87 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.25 ▲0.08 | 97.32 ▲2.14 | 40.29 ▼2.60 |
Add New /wp-admin/post-new.php?post_type=dynamic_shortcode | 1,478 | 2.53 | 50.99 | 58.26 |
All Shortcodes /wp-admin/edit.php?post_type=dynamic_shortcode | 1,077 | 2.00 | 33.18 | 28.81 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (Editor screen for creating a shortcode) image required
etd-dynamic-shortcodes/etd-dynamic-shortcodes.php 85% from 13 tests
The entry point to "ETD Dynamic Shortcodes" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin214 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 75 | 164 | 214 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-256x256.png | 28.36KB | 20.82KB | ▼ 26.58% |
icon-128x128.png | 8.93KB | 6.57KB | ▼ 26.40% |
screenshot-1.png | 34.76KB | 11.49KB | ▼ 66.95% |