Benchmarks
Plugin footprint 65% 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: ▲5.03MB] [CPU: ▲21.63ms] 75% from 4 tests
Server-side resources used by WP Tools Divi Blog Carousel
The following require your attention
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.03MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.92 ▲5.46 | 62.80 ▲17.88 |
Dashboard /wp-admin | 8.94 ▲5.60 | 78.84 ▲14.24 |
Posts /wp-admin/edit.php | 8.95 ▲5.59 | 82.79 ▲31.17 |
Add New Post /wp-admin/post-new.php | 9.34 ▲3.45 | 124.64 ▲23.24 |
Media Library /wp-admin/upload.php | 8.94 ▲5.72 | 74.20 ▲35.51 |
Divi Blog Carousel /wp-admin/admin.php?page=wp-tools-divi-blog-carousel | 8.95 | 62.97 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.95 | 60.87 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 250 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_debug_mode |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
fs_active_plugins |
fs_accounts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Tools Divi Blog Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.23 ▼1.21 | 1.51 ▼0.53 | 32.47 ▼13.05 |
Dashboard /wp-admin | 2,227 ▲42 | 5.85 ▼0.01 | 98.96 ▼13.79 | 43.16 ▲5.13 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.00 ▼0.06 | 38.78 ▲2.23 | 38.97 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 22.24 ▼0.78 | 660.11 ▼15.87 | 58.24 ▲4.90 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.20 ▼0.02 | 102.26 ▼20.88 | 43.01 ▼5.40 |
Divi Blog Carousel /wp-admin/admin.php?page=wp-tools-divi-blog-carousel | 975 | 1.68 | 28.29 | 59.46 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,078 | 1.70 | 23.52 | 29.36 |
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
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-tools-divi-blog-carousel/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- widget_theysaidso_widget
- fs_debug_mode
- fs_active_plugins
- fs_accounts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/wp-tools-divi-blog-carousel/includes/modules/DiviCarouselBlogItemModule/DiviCarouselBlogItemModule.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-tools-divi-blog-carousel/resources/views/wptools-divi-carousel-blogs.php:1
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/wp-tools-divi-blog-carousel/vendor/pimple/pimple/src/Pimple/Psr11/Container.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/wp-tools-divi-blog-carousel/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php:36
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/wp-tools-divi-blog-carousel/includes/modules/DiviBlogCarouselModule/DiviBlogCarouselModule.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/wp-tools-divi-blog-carousel/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php:36
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/wp-tools-divi-blog-carousel/includes/modules/DiviBlogCarouselExtension.php:6
- > PHP Notice
Undefined variable: module_classes in wp-content/plugins/wp-tools-divi-blog-carousel/resources/views/wptools-divi-carousel-blogs.php on line 1
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/wp-tools-divi-blog-carousel/vendor/psr/container/src/NotFoundExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Class 'Pimple\\Container' not found in wp-content/plugins/wp-tools-divi-blog-carousel/src/Loader.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: divi module, divi, image carousel
wp-tools-divi-blog-carousel/wp-tools-divi-blog-carousel.php 92% from 13 tests
"WP Tools Divi Blog Carousel" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected37,836 lines of code in 190 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 152 | 8,286 | 18,193 | 34,396 |
JavaScript | 10 | 890 | 123 | 2,365 |
CSS | 16 | 47 | 5 | 306 |
Sass | 2 | 27 | 5 | 262 |
JSON | 3 | 0 | 0 | 174 |
LESS | 1 | 11 | 5 | 152 |
reStructuredText | 1 | 96 | 139 | 97 |
YAML | 1 | 7 | 1 | 39 |
XML | 1 | 2 | 0 | 16 |
SVG | 1 | 1 | 0 | 13 |
Markdown | 1 | 5 | 0 | 8 |
Ruby | 1 | 2 | 0 | 8 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 64.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 2 | 2.94% |
▷ Concrete classes | 66 | 97.06% |
▷ Final classes | 2 | 3.03% |
Methods | 1,369 | |
▷ Static methods | 216 | 15.78% |
▷ Public methods | 977 | 71.37% |
▷ Protected methods | 18 | 1.31% |
▷ Private methods | 374 | 27.32% |
Functions | 109 | |
▷ Named functions | 100 | 91.74% |
▷ Anonymous functions | 9 | 8.26% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/wp-tools-divi-blog-carousel.png | 5.38KB | 3.05KB | ▼ 43.34% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |