Benchmarks
Plugin footprint 83% 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: ▲0.01MB] [CPU: ▼5.37ms] Passed 4 tests
A check of server-side resources used by Post Carousel for DV Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.96 ▼8.58 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.13 ▼6.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.00 ▲1.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.40 ▼5.21 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.80 ▼1.45 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Post Carousel for DV Builder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲132 | 13.87 ▼0.86 | 12.12 ▲10.24 | 40.29 ▼8.24 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▼0.04 | 87.62 ▼10.17 | 40.62 ▼3.32 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.01 ▲0.06 | 39.77 ▲3.22 | 36.11 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.77 ▲0.72 | 675.87 ▼48.04 | 57.72 ▼3.58 |
Media Library /wp-admin/upload.php | 1,419 ▲25 | 4.21 ▼0.06 | 96.75 ▲0.37 | 40.84 ▼4.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/post-carousel-for-dv-builder/postcarousel.php:36
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module_Type_PostBased' not found in wp-content/plugins/post-carousel-for-dv-builder/includes/postcarousel.php:4
- > PHP Fatal error
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 93% from 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
5 plugin tags: divi carousel, carousel, divi plugins, divi theme, post carousel for divi
post-carousel-for-dv-builder/postcarousel.php 85% from 13 tests
This is the main PHP file of "Post Carousel for DV Builder" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-carousel-for-dv-builder.php" instead of "postcarousel.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,267 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 106 | 62 | 1,186 |
JavaScript | 2 | 0 | 5 | 59 |
CSS | 2 | 0 | 5 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 10.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin