Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.77ms] Passed 4 tests
An overview of server-side resources used by Content Shortcodes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.47 ▼1.25 |
Dashboard /wp-admin | 3.35 ▲0.01 | 42.87 ▼17.30 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.74 ▼3.82 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.89 ▼10.22 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.03 ▼3.75 |
All Content Shortcodes /wp-admin/edit.php?post_type=content_shortcode | 3.32 | 34.24 |
Categories /wp-admin/edit-tags.php?taxonomy=shortcode_cat&post_type=content_shortcode | 3.26 | 33.23 |
Add New /wp-admin/post-new.php?post_type=content_shortcode | 3.39 | 47.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Content Shortcodes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 14.47 ▲0.24 | 1.79 ▲0.06 | 39.48 ▼2.19 |
Dashboard /wp-admin | 2,240 ▲55 | 5.88 ▼0.08 | 106.01 ▲6.44 | 40.79 ▼4.17 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.00 ▼0.04 | 40.19 ▲1.39 | 36.65 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,559 ▲45 | 23.11 ▲5.59 | 591.33 ▼87.82 | 58.22 ▲5.96 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.24 ▲0.01 | 95.54 ▼15.18 | 43.91 ▼3.83 |
All Content Shortcodes /wp-admin/edit.php?post_type=content_shortcode | 1,117 | 1.94 | 31.09 | 30.24 |
Categories /wp-admin/edit-tags.php?taxonomy=shortcode_cat&post_type=content_shortcode | 1,262 | 2.14 | 26.81 | 26.33 |
Add New /wp-admin/post-new.php?post_type=content_shortcode | 2,285 | 7.67 | 169.34 | 62.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-shortcodes/content-shortcodes.php:35
- > 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 96% 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
5 plugin tags: widgets, repeatable, content, shortcodes, modular
content-shortcodes/content-shortcodes.php 92% from 13 tests
Analyzing the main PHP file in "Content Shortcodes" version 1.0
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 194 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
Everything looks great! No dangerous files found in this plugin75 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 25 | 75 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
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