Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.05ms] Passed 4 tests
A check of server-side resources used by Shortcode Enablr
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.41 ▼4.74 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.80 ▼0.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.38 ▲0.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.30 ▼7.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.37 ▲1.04 |
Shortcode Enablr /wp-admin/options-general.php?page=shortcode_enablr | 3.20 | 33.49 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Shortcode Enablr
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.18 ▼1.12 | 1.94 ▲0.15 | 43.29 ▼1.07 |
Dashboard /wp-admin | 2,225 ▲24 | 5.88 ▲0.90 | 98.88 ▼14.59 | 38.81 ▼5.64 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 39.68 ▲4.51 | 36.20 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,557 ▲28 | 18.39 ▲0.67 | 643.99 ▼36.80 | 51.05 ▼8.96 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.03 | 101.51 ▲0.93 | 44.58 ▼1.03 |
Shortcode Enablr /wp-admin/options-general.php?page=shortcode_enablr | 824 | 2.01 | 26.50 | 28.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/shortcode-enablr/shortcode-enablr.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/shortcode-enablr/templates/settings.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% 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: Screenshot #1 (There are no screenshots available for this project.) image not found
shortcode-enablr/shortcode-enablr.php Passed 13 tests
The entry point to "Shortcode Enablr" version 1.1.4 is a PHP file that has certain tags in its header comment area
18 characters long description:
Shortcode enabler.
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
There were no executable files found in this plugin68 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 8 | 68 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin