Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼1.99ms] Passed 4 tests
Analyzing server-side resources used by Shortcode Revolution
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 39.36 ▼2.15 |
Dashboard /wp-admin | 3.52 ▲0.21 | 49.73 ▼2.19 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 65.29 ▲9.96 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 88.28 ▼11.02 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.71 ▲7.40 |
Custom Shortcodes /wp-admin/admin.php?page=shortcode_revolution_custom | 3.47 | 40.09 |
Settings /wp-admin/admin.php?page=shortcode_revolution_settings | 3.41 | 35.07 |
Get Shortcodes /wp-admin/admin.php?page=shortcode_revolution | 3.79 | 32.10 |
Help /wp-admin/admin.php?page=shortcode_revolution_help | 3.42 | 33.12 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/shortcode-revolution/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 34 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_shortcodes |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
srevo_version |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Shortcode Revolution
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.75 ▼0.67 | 4.97 ▲3.26 | 42.56 ▲0.75 |
Dashboard /wp-admin | 2,254 ▲48 | 4.87 ▼1.01 | 107.06 ▲5.52 | 39.13 ▼1.38 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.04 ▲0.05 | 40.83 ▲2.07 | 37.60 ▲3.43 |
Add New Post /wp-admin/post-new.php | 1,567 ▲36 | 23.46 ▲0.17 | 690.61 ▼13.96 | 56.17 ▼2.65 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.16 ▼0.10 | 113.13 ▲0.79 | 49.88 ▼0.13 |
Custom Shortcodes /wp-admin/admin.php?page=shortcode_revolution_custom | 1,541 | 6.52 | 127.28 | 53.97 |
Settings /wp-admin/admin.php?page=shortcode_revolution_settings | 859 | 2.02 | 22.10 | 26.37 |
Get Shortcodes /wp-admin/admin.php?page=shortcode_revolution | 1,271 | 1.87 | 23.90 | 34.13 |
Help /wp-admin/admin.php?page=shortcode_revolution_help | 948 | 2.29 | 23.06 | 30.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_shortcodes
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- srevo_version
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/shortcode-revolution/views/help.html.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/shortcode-revolution/shortcode-revolution.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/shortcode-revolution/views/settings.html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/shortcode-revolution/views/generator.html.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: buttons, carousel, user profile, grid, tabs...
shortcode-revolution/shortcode-revolution.php Passed 13 tests
The main PHP file in "Shortcode Revolution" ver. 0.4.3 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
Shortcode everything. The low code / no code tool for WordPress developers, designers, and power users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,115 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 450 | 164 | 1,646 |
CSS | 4 | 48 | 67 | 467 |
JavaScript | 2 | 1 | 8 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 15.92 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 8.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 25 | 100.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 1 | 4.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected