Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.05ms] 75% from 4 tests
Analyzing server-side resources used by Shortcode Addons- with Visual Composer, Divi, Beaver Builder and Elementor Extension
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 609.38ms on /wp-admin/admin.php?page=shortcode-addons-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 48.65 ▲10.54 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.71 ▼1.25 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 53.99 ▲3.78 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 97.26 ▼6.15 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.79 ▼0.56 |
Oxilab Plugins /wp-admin/admin.php?page=shortcode-addons-plugins | 3.37 | 609.38 |
Font Manager /wp-admin/admin.php?page=shortcode-addons-font | 3.29 | 39.95 |
Addons Support /wp-admin/admin.php?page=shortcode-addons-support | 3.29 | 35.66 |
Settings /wp-admin/admin.php?page=shortcode-addons-settings | 3.33 | 48.42 |
Elements /wp-admin/admin.php?page=shortcode-addons | 3.37 | 45.04 |
Import /wp-admin/admin.php?page=shortcode-addons-import | 3.32 | 37.10 |
Server storage [IO: ▲5.39MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 98 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_oxi_div_import |
wp_oxi_div_list |
wp_oxi_div_style |
New WordPress options |
---|
shortcode_addons_activation_date |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
SA_ADDONS_PLUGIN_VERSION |
widget_shortcode_addons_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shortcode Addons- with Visual Composer, Divi, Beaver Builder and Elementor Extension
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲99 | 14.25 ▼0.10 | 2.05 ▲0.46 | 43.38 ▲1.07 |
Dashboard /wp-admin | 2,244 ▲73 | 5.57 ▼0.10 | 86.33 ▼10.40 | 38.97 ▼2.29 |
Posts /wp-admin/edit.php | 2,146 ▲46 | 2.03 ▲0.09 | 39.23 ▼4.57 | 36.06 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.44 ▼0.16 | 652.79 ▼7.43 | 56.84 ▼6.77 |
Media Library /wp-admin/upload.php | 1,449 ▲49 | 4.20 ▲0.02 | 96.09 ▼8.38 | 45.26 ▼0.28 |
Oxilab Plugins /wp-admin/admin.php?page=shortcode-addons-plugins | 1,153 | 2.14 | 30.75 | 100.47 |
Font Manager /wp-admin/admin.php?page=shortcode-addons-font | 1,362 | 2.39 | 41.51 | 201.65 |
Addons Support /wp-admin/admin.php?page=shortcode-addons-support | 1,575 | 9.31 | 299.02 | 141.29 |
Settings /wp-admin/admin.php?page=shortcode-addons-settings | 1,325 | 2.19 | 32.00 | 45.44 |
Elements /wp-admin/admin.php?page=shortcode-addons | 3,394 | 2.03 | 35.98 | 181.85 |
Import /wp-admin/admin.php?page=shortcode-addons-import | 1,093 | 2.13 | 27.51 | 50.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_oxi_div_import
- wp_oxi_div_style
- wp_oxi_div_list
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- widget_shortcode_addons_widget
- db_upgraded
- SA_ADDONS_PLUGIN_VERSION
- widget_recent-comments
- shortcode_addons_activation_date
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'SHORTCODE_ADDONS\\Core\\Console' not found in wp-content/plugins/shortcode-addons/Layouts/Collection.php:13
- > PHP Fatal error
Uncaught Error: Class 'SHORTCODE_ADDONS\\Core\\Console' not found in wp-content/plugins/shortcode-addons/Layouts/GoogleFont.php:13
- > PHP Fatal error
Trait 'SHORTCODE_ADDONS\\Helper\\Admin_Scripts' not found in wp-content/plugins/shortcode-addons/Layouts/Settings.php on line 10
- > PHP Fatal error
Trait 'SHORTCODE_ADDONS\\Helper\\Admin_Scripts' not found in wp-content/plugins/shortcode-addons/Layouts/Plugins.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'SHORTCODE_ADDONS\\Helper\\Database' not found in wp-content/plugins/shortcode-addons/Core/Elements_Frontend.php:19
- > PHP Fatal error
Uncaught Error: Class 'SHORTCODE_ADDONS\\Helper\\Database' not found in wp-content/plugins/shortcode-addons/Core/Console.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shortcode-addons/Includes/Widget.php:10
- > PHP Fatal error
Uncaught Error: Class 'SHORTCODE_ADDONS\\Helper\\Database' not found in wp-content/plugins/shortcode-addons/Layouts/Shortcode.php:13
- > PHP Fatal error
Uncaught Error: Class 'SHORTCODE_ADDONS\\Core\\Console' not found in wp-content/plugins/shortcode-addons/Layouts/ClearOlderFile.php:13
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: siteorgin, addons, visual composer, shortcode, divi...
shortcode-addons/index.php 85% from 13 tests
The primary PHP file in "Shortcode Addons- with Visual Composer, Divi, Beaver Builder and Elementor Extension" version 3.2.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("shortcode-addons.php" instead of "index.php")
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 84 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin38,905 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 1,046 | 885 | 11,438 |
CSS | 14 | 782 | 94 | 10,234 |
SVG | 3 | 0 | 12 | 8,889 |
PHP | 31 | 911 | 1,693 | 6,424 |
JSON | 2 | 0 | 0 | 1,920 |
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.37 |
Average class complexity | 26.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 358.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 7 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 261 | |
▷ Static methods | 4 | 1.53% |
▷ Public methods | 260 | 99.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.38% |
Functions | 25 | |
▷ Named functions | 17 | 68.00% |
▷ Anonymous functions | 8 | 32.00% |
Constants | 63 | |
▷ Global constants | 9 | 14.29% |
▷ Class constants | 54 | 85.71% |
▷ Public constants | 54 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/css/icon-close-black.png | 1.08KB | 0.26KB | ▼ 75.88% |
assets/backend/js/img/trans_bg.png | 0.08KB | 0.09KB | 0.00% |
image/logo.png | 18.31KB | 7.34KB | ▼ 59.92% |
assets/backend/css/icon-close-white.png | 1.07KB | 0.26KB | ▼ 75.82% |
image/sa-logo.png | 4.61KB | 2.39KB | ▼ 48.18% |