Benchmarks
Plugin footprint 65% 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: ▼1.65MB] [CPU: ▼51.25ms] Passed 4 tests
A check of server-side resources used by Widgets in Columns
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.35 ▼1.11 | 9.11 ▼30.49 |
Dashboard /wp-admin | 2.37 ▼0.98 | 11.84 ▼46.56 |
Posts /wp-admin/edit.php | 2.37 ▼0.99 | 13.74 ▼33.54 |
Add New Post /wp-admin/post-new.php | 2.37 ▼3.52 | 11.20 ▼94.42 |
Media Library /wp-admin/upload.php | 2.37 ▼0.86 | 9.79 ▼25.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_wic-divider |
widget_theysaidso_widget |
widget_wic-spacer |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Widgets in Columns
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.71 ▼0.58 | 4.38 ▲2.63 | 41.44 ▲4.99 |
Dashboard /wp-admin | 2,203 ▲18 | 5.81 ▼0.06 | 96.22 ▼4.65 | 38.16 ▼7.04 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.02 | 40.08 ▲5.41 | 34.37 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 18.64 ▼4.69 | 612.58 ▼30.04 | 53.27 ▲0.22 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.20 ▼0.03 | 101.26 ▲4.42 | 41.60 ▼1.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/widgets-in-columns/widgets.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WIC_Widget_Divider has a deprecated constructor
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- widget_wic-divider
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_wic-spacer
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 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/widgets-in-columns/widgets.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-in-columns/widgets-in-columns.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: widget, admin, columns
widgets-in-columns/widgets-in-columns.php Passed 13 tests
The principal PHP file in "Widgets in Columns" v. 0.2.4 is loaded by WordPress automatically on each request
114 characters long description:
Display your widgets in desired columns and rows. This is a weapon too powerful to be used in the hand of mortals!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected321 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 2 | 0 | 158 |
PHP | 2 | 33 | 54 | 141 |
JavaScript | 1 | 3 | 3 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
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
PNG images were not found in this plugin