Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼0.68ms] Passed 4 tests
Server-side resources used by CFP.DEV shortcodes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 50.22 ▲7.92 |
Dashboard /wp-admin | 3.63 ▲0.33 | 51.30 ▲1.24 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 55.95 ▲9.74 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.34 | 88.37 ▼17.91 |
Media Library /wp-admin/upload.php | 3.56 ▲0.32 | 40.60 ▲6.04 |
CFP.DEV /wp-admin/options-general.php?page=my-unique-identifier | 3.51 | 36.82 |
Server storage [IO: ▲1.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for CFP.DEV shortcodes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲207 | 16.27 ▲1.63 | 14.30 ▲12.60 | 50.23 ▲4.85 |
Dashboard /wp-admin | 2,222 ▲51 | 6.07 ▲0.43 | 101.98 ▲11.16 | 39.99 ▼3.07 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.99 ▲1.03 | 43.95 ▲10.54 | 34.14 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.21 ▲0.01 | 691.37 ▲84.15 | 51.26 ▼9.56 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 5.62 ▲1.42 | 108.28 ▲0.20 | 42.61 ▼9.41 |
CFP.DEV /wp-admin/options-general.php?page=my-unique-identifier | 1,019 | 2.76 | 35.02 | 27.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=my-unique-identifier
- > Notice in wp-content/plugins/cfp-dev-shortcodes/cfp-dev-wordpress-shortcodes.php+553
Trying to access array offset on value of type null
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=my-unique-identifier
- > Notice in wp-content/plugins/cfp-dev-shortcodes/cfp-dev-wordpress-shortcodes.php+562
Undefined index:
SRP 0% 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
The following issues need your attention
- 10× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/schedule/general.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/general.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/include/top.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/include/bottom.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/header.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/schedule/personal.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/logo.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/search.php
- > /wp-content/plugins/cfp-dev-shortcodes/shortcode/template/footer.php
- 4095× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: time_unit in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 35
- > PHP Notice
Undefined variable: time_day in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 36
- > PHP Notice
Undefined variable: time_unit in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 35
- > PHP Notice
Undefined variable: time_unit in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 35
- > PHP Notice
Undefined variable: time_unit in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 35
- > PHP Notice
Undefined variable: time_day in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 36
- > PHP Notice
Undefined variable: time_day in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 36
- > PHP Notice
Undefined variable: time_day in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 36
- > PHP Notice
Undefined variable: time_day in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 36
- > PHP Notice
Undefined variable: time_day in wp-content/plugins/cfp-dev-shortcodes/shortcode/template/personal.php on line 36
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #3, #4 in cfp-dev-shortcodes/assets to your readme.txt
cfp-dev-shortcodes/cfp-dev-wordpress-shortcodes.php 85% from 13 tests
The entry point to "CFP.DEV shortcodes" version 3.2.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cfp-dev-shortcodes.php" instead of "cfp-dev-wordpress-shortcodes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected23,103 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 4,302 | 1,512 | 20,331 |
PHP | 20 | 451 | 451 | 2,284 |
JavaScript | 6 | 68 | 37 | 397 |
Markdown | 1 | 2 | 0 | 59 |
SVG | 15 | 0 | 1 | 32 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 93 | |
▷ Named functions | 66 | 70.97% |
▷ Anonymous functions | 27 | 29.03% |
Constants | 18 | |
▷ Global constants | 18 | 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
16 PNG files occupy 0.26MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
shortcode/gfx/track/mind_the_geek.png | 20.88KB | 9.03KB | ▼ 56.74% |
shortcode/gfx/track/people_culture.png | 27.91KB | 12.78KB | ▼ 54.22% |
images/ui-icons_777777_256x240.png | 3.19KB | 3.49KB | 0.00% |
shortcode/gfx/track/java.png | 17.90KB | 10.95KB | ▼ 38.80% |
shortcode/gfx/track/data_ai.png | 30.05KB | 12.36KB | ▼ 58.88% |