Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.61MB] [CPU: ▼10.53ms] Passed 4 tests
Analyzing server-side resources used by Clarobi
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 46.06 ▲1.75 |
Dashboard /wp-admin | 3.38 ▲0.07 | 53.23 ▲2.75 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 55.52 ▲8.56 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.64 | 42.22 ▼51.49 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.85 ▲4.86 |
ClaroBI /wp-admin/options-general.php?page=clarobi | 3.27 | 35.12 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 28 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_clarobi_products_counters |
New WordPress options |
---|
clarobi_products_counters_db_version |
widget_recent-comments |
theysaidso_admin_options |
clarobi_show_activation_notice |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Clarobi
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲15 | 14.35 ▲0.00 | 1.83 ▼0.21 | 39.22 ▼6.49 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▲0.12 | 97.12 ▼10.59 | 43.53 ▲1.50 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 2.02 ▲0.04 | 42.97 ▲6.28 | 36.32 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.01 ▼0.44 | 663.57 ▲19.81 | 56.83 ▼2.38 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.20 ▲0.11 | 99.73 ▼13.88 | 43.78 ▼1.51 |
ClaroBI /wp-admin/options-general.php?page=clarobi | 810 | 2.01 | 26.50 | 29.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_clarobi_products_counters
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- clarobi_show_activation_notice
- can_compress_scripts
- clarobi_products_counters_db_version
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #2 (Activate the plugin by going to Plugins menu (screenshot-2.png))
- Donate link: Invalid URI ("")
clarobi/clarobi.php 92% from 13 tests
"Clarobi" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "3.9.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,946 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 394 | 1,071 | 1,610 |
Markdown | 2 | 75 | 0 | 327 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 12 | 13.04% |
▷ Public methods | 77 | 83.70% |
▷ Protected methods | 7 | 7.61% |
▷ Private methods | 8 | 8.70% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.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
No PNG images were found in this plugin