Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/shortcodify/shortcodify.php+625
Methods with the same name as their class will not be constructors in a future version of PHP; ShortcodifyWidget has a deprecated constructor
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.32ms] Passed 4 tests
Analyzing server-side resources used by Shortcodify
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.54 ▼2.47 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.66 ▼1.15 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 49.55 ▲5.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.66 ▼4.14 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.25 ▼1.50 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp_shortcodify_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Shortcodify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲128 | 13.65 ▲0.41 | 8.96 ▲7.41 | 39.11 ▲3.03 |
Dashboard /wp-admin | 2,207 ▲4 | 5.86 ▼0.01 | 99.25 ▲2.85 | 37.27 ▼1.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.03 | 38.57 ▲5.29 | 34.83 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.57 ▼5.57 | 631.48 ▼80.42 | 51.62 ▼12.39 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▼0.04 | 101.69 ▼3.28 | 45.23 ▲0.34 |
Shortcodify /wp-admin/shortcodify.php | 26 | 0.44 | 0.10 | 12.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- wp_shortcodify_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shortcodify/shortcodify.php:625
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/shortcodify.php
- > Network (severe)
wp-admin/shortcodify.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Shortcodify widget area.), #2 (Shortcodes in the tiny.), #3 (The output of the shortcodes)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
shortcodify/shortcodify.php Passed 13 tests
This is the main PHP file of "Shortcodify" version 1.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
24 characters long description:
Plugin to add shortcodes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,557 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 35 | 50 | 1,088 |
PHP | 1 | 81 | 201 | 381 |
PO File | 2 | 20 | 40 | 74 |
JavaScript | 1 | 1 | 0 | 14 |
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.27 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 27 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
3 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 14.76KB | 3.52KB | ▼ 76.18% |
screenshot-1.png | 15.90KB | 4.15KB | ▼ 73.92% |
screenshot-2.png | 36.89KB | 12.12KB | ▼ 67.14% |