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.20MB] [CPU: ▲2.30ms] Passed 4 tests
Server-side resources used by Meks Flexible Shortcodes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 48.49 ▲4.32 |
Dashboard /wp-admin | 3.51 ▲0.20 | 54.93 ▼0.28 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 56.29 ▲2.66 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 92.99 ▲2.50 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 42.38 ▲6.38 |
Server storage [IO: ▲1.65MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Meks Flexible Shortcodes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲145 | 13.98 ▼0.36 | 7.31 ▲5.24 | 45.75 ▲0.10 |
Dashboard /wp-admin | 2,236 ▲33 | 5.32 ▲0.49 | 121.80 ▲7.13 | 42.73 ▼2.52 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.44 ▲0.38 | 45.38 ▲8.64 | 38.33 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.66 ▲6.09 | 799.05 ▲34.90 | 38.75 ▼23.65 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.60 ▲0.43 | 100.22 ▼5.19 | 41.97 ▼1.56 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/meks-flexible-shortcodes/inc/functions.php:971
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/progressbars.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/dropcaps.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/columns.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/toggles.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/buttons.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/pullquotes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/social.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/accordion.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/meks-flexible-shortcodes/templates/highlights.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: tabs, shortcodes, buttons, toggles, accordions...
meks-flexible-shortcodes/meks-shortcodes.php 85% from 13 tests
The principal PHP file in "Meks Flexible Shortcodes" v. 1.3.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("meks-flexible-shortcodes.php" instead of "meks-shortcodes.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 233 characters long)
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
No dangerous file extensions were detected11,504 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 5,409 |
CSS | 5 | 22 | 57 | 3,749 |
PHP | 15 | 199 | 90 | 1,953 |
JavaScript | 2 | 74 | 2 | 209 |
PO File | 1 | 85 | 93 | 184 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
49 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/social_icons/twitch_ico.png | 1.27KB | 0.59KB | ▼ 53.80% |
img/social_icons/delicious_ico.png | 1.25KB | 0.54KB | ▼ 56.62% |
img/social_icons/myspace_ico.png | 1.30KB | 0.66KB | ▼ 49.06% |
img/social_icons/google_ico.png | 1.27KB | 0.66KB | ▼ 47.97% |
img/social_icons/spotify_ico.png | 1.29KB | 0.64KB | ▼ 50.38% |