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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.16ms] Passed 4 tests
A check of server-side resources used by Column Shortcodes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 40.33 ▲1.42 |
Dashboard /wp-admin | 3.40 ▲0.06 | 47.33 ▼10.33 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 46.45 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.54 ▼5.54 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.89 ▲1.12 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Column Shortcodes: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,074 ▲328 | 14.21 ▼0.52 | 1.71 ▲0.02 | 47.11 ▲5.93 |
Dashboard /wp-admin | 2,481 ▲303 | 5.52 ▼0.22 | 84.42 ▼20.37 | 64.08 ▲26.72 |
Posts /wp-admin/edit.php | 2,383 ▲283 | 2.03 ▼0.00 | 37.87 ▼3.50 | 36.42 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,822 ▲287 | 18.14 ▼0.30 | 721.34 ▲133.86 | 39.41 ▼30.88 |
Media Library /wp-admin/upload.php | 1,680 ▲277 | 4.06 ▼0.26 | 98.34 ▲0.41 | 64.56 ▲21.17 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 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/column-shortcodes/column-shortcodes.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
column-shortcodes/column-shortcodes.php Passed 13 tests
"Column Shortcodes" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
63 characters long description:
Adds shortcodes to easily create columns in your posts or pages
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
Everything looks great! No dangerous files found in this plugin1,863 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 91 | 216 | 675 |
PO File | 11 | 198 | 220 | 629 |
PHP | 1 | 102 | 173 | 378 |
JavaScript | 3 | 61 | 38 | 169 |
SVG | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/columns-rtl.png | 4.97KB | 2.40KB | ▼ 51.71% |
assets/images/columns.png | 4.77KB | 2.36KB | ▼ 50.52% |
assets/images/shortcode.png | 1.03KB | 0.25KB | ▼ 75.33% |