Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.54MB] [CPU: ▼9.03ms] Passed 4 tests
This is a short check of server-side resources used by Super Simple Shortcodes - Create your own Custom Shortcodes for Contact Info & More
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.52 ▲4.03 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.91 ▼4.64 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 45.89 ▼1.21 |
Add New Post /wp-admin/post-new.php | 3.52 ▼2.37 | 59.46 ▼34.28 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 55.94 ▲19.37 |
Custom Shortcodes /wp-admin/edit.php?post_type=wrd_shortcode | 3.34 | 37.78 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Super Simple Shortcodes - Create your own Custom Shortcodes for Contact Info & More
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.25 ▼1.13 | 1.75 ▼0.08 | 43.10 ▲2.64 |
Dashboard /wp-admin | 2,215 ▲36 | 4.86 ▼1.00 | 105.91 ▲4.44 | 38.04 ▼4.79 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.06 ▲0.05 | 35.40 ▼0.93 | 32.30 ▼0.47 |
Add New Post /wp-admin/post-new.php | 3,160 ▲1,641 | 7.74 ▼15.43 | 174.99 ▼474.85 | 72.82 ▲13.59 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.17 ▼0.03 | 102.53 ▲3.01 | 42.57 ▼0.40 |
Custom Shortcodes /wp-admin/edit.php?post_type=wrd_shortcode | 1,059 | 2.00 | 34.08 | 32.76 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: tinymce, contact, wysiwyg, content, shortcode...
super-simple-shortcodes/customshortcodes.php 69% from 13 tests
The principal PHP file in "Super Simple Shortcodes - Create your own Custom Shortcodes for Contact Info & More" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires at least: Required version must match the one declared in readme.txt ("5.7" instead of "5.2")
- Main file name: Name the main plugin file the same as the plugin slug ("super-simple-shortcodes.php" instead of "customshortcodes.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected446 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 122 | 163 |
JavaScript | 2 | 43 | 5 | 153 |
CSS | 2 | 34 | 0 | 130 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/scripts/shortcode.png | 2.15KB | 0.77KB | ▼ 64.09% |