Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.42ms] Passed 4 tests
Analyzing server-side resources used by Multi Post Carousel by Category
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.44 ▲0.73 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.90 ▼7.13 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.02 ▼2.94 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.06 ▼8.35 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.02 ▲1.56 |
Post Slides /wp-admin/options-general.php?page=post-slide | 3.22 | 33.30 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
post_slides_option_name |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multi Post Carousel by Category
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.71 ▲0.12 | 2.31 ▲0.81 | 43.32 ▲2.43 |
Dashboard /wp-admin | 2,206 ▲29 | 5.62 ▲0.03 | 95.48 ▲8.66 | 41.64 ▼3.45 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.99 ▼0.02 | 35.07 ▼3.93 | 32.40 ▼9.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 22.98 ▼0.08 | 675.53 ▲16.35 | 63.28 ▲1.43 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.10 ▼0.09 | 110.45 ▼5.75 | 49.70 ▲0.80 |
Post Slides /wp-admin/options-general.php?page=post-slide | 1,005 | 1.81 | 29.13 | 29.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- post_slides_option_name
Smoke tests Passed 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 Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: image carousel, carousel, images, multi post carousel, category...
multi-post-carousel/multi-post-carousel.php Passed 13 tests
The main file in "Multi Post Carousel by Category" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
92 characters long description:
WordPress multipost carousel to show post in the count of 4,8,12 and vice-versa in one slide
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,882 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 28 | 21 | 1,093 |
PHP | 2 | 78 | 26 | 412 |
CSS | 2 | 28 | 13 | 377 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/controls.png | 2.19KB | 0.95KB | ▼ 56.49% |