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
Installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲0.38ms] Passed 4 tests
An overview of server-side resources used by Post Carousel Divi
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 41.11 ▲0.67 |
Dashboard /wp-admin | 3.90 ▲0.60 | 52.31 ▲5.52 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 51.86 ▲7.27 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 89.35 ▼6.29 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 39.24 ▲1.60 |
Support Forum /wp-admin/admin.php?page=lwp_post_carousel-wp-support-forum | 3.53 | 30.45 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 3.99 | 44.67 |
Upgrade ➤ /wp-admin/admin.php?page=lwp_post_carousel-pricing | 3.70 | 32.83 |
Contact Us /wp-admin/admin.php?page=lwp_post_carousel-contact | 3.69 | 41.23 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 193 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_accounts |
lwp_post_carousel_activation_time |
widget_recent-posts |
widget_theysaidso_widget |
fs_debug_mode |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
fs_active_plugins |
Browser metrics Passed 4 tests
Post Carousel Divi: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.26 ▼1.06 | 1.76 ▼0.02 | 40.93 ▼4.75 |
Dashboard /wp-admin | 2,230 ▲42 | 4.86 ▲0.00 | 108.05 ▲2.73 | 41.66 ▼2.10 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.00 ▼0.01 | 39.14 ▲4.67 | 34.17 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 18.33 ▼4.85 | 594.14 ▼78.09 | 61.94 ▲4.12 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.24 ▲0.02 | 98.29 ▼17.08 | 43.37 ▼4.27 |
Support Forum /wp-admin/admin.php?page=lwp_post_carousel-wp-support-forum | 2,166 | 3.98 | 85.35 | 90.68 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,081 | 1.85 | 23.44 | 27.79 |
Upgrade ➤ /wp-admin/admin.php?page=lwp_post_carousel-pricing | 2,195 | 3.35 | 61.57 | 134.50 |
Contact Us /wp-admin/admin.php?page=lwp_post_carousel-contact | 1,566 | 3.20 | 54.30 | 60.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/post-carousel-divi/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 10 options
- widget_recent-posts
- lwp_post_carousel_activation_time
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- fs_accounts
- fs_active_plugins
- fs_debug_mode
- theysaidso_admin_options
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 | 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 server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/post-carousel-divi/includes/modules/DiviPostCarousel/DiviPostCarousel.php:3
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/post-carousel-divi/includes/PostCarousel.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in post-carousel-divi/assets to your readme.txt
post-carousel-divi/post-carousel.php 85% from 13 tests
The entry point to "Post Carousel Divi" version 1.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("post-carousel-divi.php" instead of "post-carousel.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected35,654 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 8,128 | 17,370 | 35,106 |
PO File | 1 | 151 | 226 | 336 |
JavaScript | 5 | 34 | 59 | 196 |
CSS | 16 | 0 | 0 | 16 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 89.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 2 | 3.92% |
▷ Concrete classes | 49 | 96.08% |
▷ Final classes | 0 | 0.00% |
Methods | 1,267 | |
▷ Static methods | 197 | 15.55% |
▷ Public methods | 877 | 69.22% |
▷ Protected methods | 17 | 1.34% |
▷ Private methods | 373 | 29.44% |
Functions | 108 | |
▷ Named functions | 108 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |