Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼135.52ms] Passed 4 tests
A check of server-side resources used by Columnify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 34.85 ▲14.14 |
Dashboard /wp-admin | 3.09 ▲0.03 | 48.89 ▲4.09 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.01 ▲12.21 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 89.89 ▼559.43 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.93 ▲1.06 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_column_divider |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Columnify
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲73 | 15.83 ▼0.14 | 8.86 ▼0.31 | 45.69 ▼2.45 |
Dashboard /wp-admin | 2,973 ▲42 | 5.92 ▼0.08 | 138.21 ▼4.74 | 110.76 ▼7.70 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.72 ▼0.01 | 67.78 ▲1.76 | 91.98 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,672 ▲174 | 18.87 ▲0.09 | 378.52 ▲4.11 | 111.71 ▼5.36 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.02 | 144.89 ▼24.24 | 117.65 ▼6.08 |
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: 1 option
- widget_column_divider
Smoke tests 75% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/columnify/includes/widgets/divider.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/columnify/includes/widgets/divider.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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
4 plugin tags: columns, widget, bootstrap, sidebar
columnify/columnify.php Passed 13 tests
The main PHP file in "Columnify" ver. 0.0.1 adds more information about the plugin and also serves as the entry point for this plugin
50 characters long description:
Creates columns with widgets quickly and painless.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin183 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 38 | 28 | 91 |
CSS | 1 | 1 | 0 | 26 |
JavaScript | 1 | 5 | 1 | 23 |
Markdown | 1 | 10 | 0 | 22 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin