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
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.91ms] Passed 4 tests
An overview of server-side resources used by Post Carousel & Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 46.69 ▲5.31 |
Dashboard /wp-admin | 3.51 ▲0.21 | 52.11 ▲0.81 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.11 ▲1.61 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 90.17 ▼19.37 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 44.96 ▲10.46 |
Post carousel & slider /wp-admin/admin.php?page=postcs | 3.40 | 34.27 |
Common setting /wp-admin/admin.php?page=postcssetting | 3.40 | 34.71 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Post Carousel & Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲160 | 13.85 ▼0.52 | 9.41 ▲7.47 | 37.01 ▼6.41 |
Dashboard /wp-admin | 2,229 ▲55 | 5.52 ▼0.11 | 90.38 ▼10.01 | 40.96 ▼4.18 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.02 ▼0.01 | 37.18 ▼0.97 | 34.04 ▼2.77 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 23.11 ▲0.02 | 711.13 ▲62.91 | 50.82 ▼2.30 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.25 ▼0.15 | 109.89 ▼6.46 | 47.43 ▼0.09 |
Post carousel & slider /wp-admin/admin.php?page=postcs | 865 | 2.04 | 26.22 | 27.02 |
Common setting /wp-admin/admin.php?page=postcssetting | 841 | 2.05 | 25.77 | 25.54 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'postcsCls' not found in wp-content/plugins/post-types-carousel-slider/includes/shortcode.php:2
- > PHP Fatal error
Uncaught Error: Class 'postcsCls' not found in wp-content/plugins/post-types-carousel-slider/includes/admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'postcsCls' not found in wp-content/plugins/post-types-carousel-slider/includes/front.php:2
- > PHP Fatal error
Uncaught Error: Class 'postcsCls' not found in wp-content/plugins/post-types-carousel-slider/includes/css_js.php:2
- > PHP Fatal error
Uncaught Error: Class 'postcsCls' not found in wp-content/plugins/post-types-carousel-slider/includes/ajax.php:2
- > 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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: post slider, responsive slider, post carousel, content slider, slideshow...
post-types-carousel-slider/post-cs.php 77% from 13 tests
This is the main PHP file of "Post Carousel & Slider" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("post-types-carousel-slider.php" instead of "post-cs.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin3,024 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 118 | 70 | 1,588 |
CSS | 2 | 332 | 30 | 1,327 |
JavaScript | 3 | 6 | 33 | 109 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 49.17 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 13.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/prev.png | 0.39KB | 0.28KB | ▼ 29.35% |
assets/img/next.png | 0.38KB | 0.25KB | ▼ 33.08% |
assets/img/no-img.png | 8.85KB | 2.56KB | ▼ 71.06% |