Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.31ms] Passed 4 tests
Server-side resources used by Include Content By Shortcode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.70 ▼0.71 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.98 ▲0.78 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.18 ▼0.26 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.30 ▼1.07 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 36.20 ▲1.38 |
Settings /wp-admin/edit.php?post_type=icbscbks&page=include-content-by-shortcode | 3.26 | 29.35 |
Included Contents /wp-admin/edit.php?post_type=icbscbks | 3.34 | 55.85 |
Add New /wp-admin/post-new.php?post_type=icbscbks | 3.36 | 50.06 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Include Content By Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.26 ▼0.09 | 1.85 ▲0.05 | 43.44 ▼2.11 |
Dashboard /wp-admin | 2,228 ▲51 | 5.51 ▼0.15 | 86.80 ▼18.80 | 39.44 ▼5.27 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.12 ▲0.17 | 33.73 ▼2.29 | 37.08 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 22.89 ▼0.15 | 623.11 ▼3.08 | 49.54 ▼2.62 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.13 ▼0.06 | 102.61 ▲7.81 | 42.66 ▲0.22 |
Settings /wp-admin/edit.php?post_type=icbscbks&page=include-content-by-shortcode | 859 | 2.02 | 25.71 | 44.11 |
Included Contents /wp-admin/edit.php?post_type=icbscbks | 1,113 | 1.97 | 30.12 | 32.83 |
Add New /wp-admin/post-new.php?post_type=icbscbks | 2,017 | 3.94 | 88.42 | 47.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/include-content-by-shortcode/inc/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/include-content-by-shortcode/inc/adding_meta_boxes.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/include-content-by-shortcode/inc/constants.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/include-content-by-shortcode/inc/registering_post_type.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/include-content-by-shortcode/inc/constants.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/include-content-by-shortcode/inc/adding_copy_shortcode_column.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/include-content-by-shortcode/inc/constants.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/include-content-by-shortcode/inc/constants.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
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #4 is required in include-content-by-shortcode/assets to your readme.txt
include-content-by-shortcode/include-content-by-shortcode.php 92% from 13 tests
The primary PHP file in "Include Content By Shortcode" version 0.4.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 214 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
Good job! No executable or dangerous file extensions detected253 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 46 | 27 | 250 |
CSS | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin