Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.64MB] [CPU: ▲2.26ms] 75% from 4 tests
Analyzing server-side resources used by CBX Tour - User Walkthroughs/Guided Tours
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,602.25ms on /wp-admin/admin.php?page=cbxtakeatour-support)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.68 | 49.21 ▲4.90 |
Dashboard /wp-admin | 3.98 ▲0.63 | 50.84 ▼12.00 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 54.70 ▲6.33 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 94.49 ▲9.82 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 46.19 ▲10.31 |
Global Setting /wp-admin/admin.php?page=cbxtakeatour-settings | 3.92 | 44.80 |
Tours /wp-admin/admin.php?page=cbxtakeatour-listing | 3.96 | 40.36 |
Helps & Updates /wp-admin/admin.php?page=cbxtakeatour-support | 5.07 | 1,602.25 |
Server storage [IO: ▲2.32MB] [DB: ▲0.09MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 312 new files
Database: no new tables, 8 new options
New WordPress options |
---|
cbxtakeatour_tools |
can_compress_scripts |
db_upgraded |
widget_cbxtakeatour-widget |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
CBX Tour - User Walkthroughs/Guided Tours: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,016 ▲269 | 13.45 ▼0.87 | 13.93 ▲12.17 | 28.73 ▼15.86 |
Dashboard /wp-admin | 2,228 ▲53 | 5.56 ▼0.15 | 92.21 ▼13.37 | 76.61 ▲37.03 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.99 ▼0.01 | 37.42 ▼0.13 | 33.73 ▼3.77 |
Add New Post /wp-admin/post-new.php | 6,393 ▲4,867 | 27.54 ▲4.52 | 916.81 ▲189.49 | 38.23 ▼45.73 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.19 ▲0.04 | 103.53 ▲6.14 | 80.56 ▲31.97 |
Global Setting /wp-admin/admin.php?page=cbxtakeatour-settings | 1,269 | 3.87 | 79.62 | 99.87 |
Tours /wp-admin/admin.php?page=cbxtakeatour-listing | 1,196 | 1.87 | 26.04 | 32.40 |
Helps & Updates /wp-admin/admin.php?page=cbxtakeatour-support | 1,410 | 1.99 | 23.09 | 40.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.09MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- cbxtakeatour_tools
- widget_recent-comments
- theysaidso_admin_options
- widget_cbxtakeatour-widget
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7 in cbxtakeatour/assets to your readme.txt
cbxtakeatour/cbxtakeatour.php Passed 13 tests
The main PHP file in "CBX Tour - User Walkthroughs/Guided Tours" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Interactive tour creator for product/service feature for wordpress
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
Good job! No executable or dangerous file extensions detected23,682 lines of code in 277 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 203 | 3,357 | 2,241 | 14,580 |
PHP | 22 | 1,194 | 1,562 | 4,449 |
Sass | 35 | 814 | 110 | 3,641 |
CSS | 13 | 119 | 3 | 953 |
SVG | 4 | 0 | 2 | 59 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 48.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 27 | 17.88% |
▷ Public methods | 140 | 92.72% |
▷ Protected methods | 4 | 2.65% |
▷ Private methods | 7 | 4.64% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
20 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_white.png | 0.30KB | 0.31KB | 0.00% |
assets/images/cognitive-icon-11-64x64.png | 2.66KB | 1.60KB | ▼ 39.62% |
assets/images/megaphone.png | 0.76KB | 0.76KB | 0.00% |
assets/images/icon_w_24.png | 0.43KB | 0.39KB | ▼ 9.98% |
assets/images/tour32.png | 0.40KB | 0.40KB | 0.00% |