Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.96ms] Passed 4 tests
An overview of server-side resources used by CSSIgniter Shortcodes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.86 ▼12.30 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.75 ▼4.57 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.99 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.35 ▼3.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.86 ▲2.15 |
CSSIgniter Shortcodes /wp-admin/options-general.php?page=cssigniter_shortcodes_plugin | 3.23 | 35.36 |
Server storage [IO: ▲1.47MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 8 new options
New WordPress options |
---|
cssigniter_shortcodes_plugin_version |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
cssigniter_shortcodes_plugin |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
CSSIgniter Shortcodes: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.53 ▼1.22 | 11.19 ▲9.29 | 41.45 ▼1.18 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▼0.05 | 95.95 ▼19.42 | 39.38 ▼3.39 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 38.16 ▲0.73 | 32.77 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.31 ▲0.13 | 658.99 ▲9.18 | 57.69 ▲10.04 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.12 ▼0.12 | 109.86 ▲5.67 | 46.68 ▲1.63 |
CSSIgniter Shortcodes /wp-admin/options-general.php?page=cssigniter_shortcodes_plugin | 3,364 | 2.02 | 27.52 | 66.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/cssigniter-shortcodes/ci-shortcodes.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cssigniter-shortcodes/inc/upgrade.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cssigniter-shortcodes/inc/panel.php:4
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
cssigniter-shortcodes/ci-shortcodes.php 77% from 13 tests
"CSSIgniter Shortcodes" version 2.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cssigniter-shortcodes.php" instead of "ci-shortcodes.php")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
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 plugin13,338 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 563 | 175 | 4,496 |
SVG | 2 | 0 | 0 | 2,694 |
JavaScript | 5 | 522 | 307 | 2,524 |
PHP | 16 | 273 | 126 | 2,341 |
Sass | 19 | 220 | 57 | 1,283 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 67 | |
▷ Named functions | 67 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There were not PNG files found in your plugin