Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/jcarousel-post-slider/jcarousel-post-slider.php+315
Declaration of CSNV_Walker_Category_Checklist::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array)
Server metrics [RAM: ▼1.97MB] [CPU: ▼59.47ms] Passed 4 tests
A check of server-side resources used by Jcarousel Post Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.35 ▼39.92 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.49 ▼59.77 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.18 ▼44.86 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.60 ▼93.31 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.16 ▼28.30 |
Server storage [IO: ▲0.24MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_slider_post |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Jcarousel Post Slider: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.85 ▼0.68 | 8.59 ▲7.07 | 44.33 ▲1.03 |
Dashboard /wp-admin | 2,200 ▲26 | 5.62 ▲0.08 | 87.91 ▼3.85 | 38.67 ▲0.08 |
Posts /wp-admin/edit.php | 2,102 ▲5 | 2.00 ▼0.03 | 40.11 ▼0.67 | 35.38 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.69 ▲0.57 | 678.38 ▼0.15 | 61.85 ▲8.45 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.22 ▲0.05 | 98.20 ▼0.67 | 43.36 ▼5.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/jcarousel-post-slider/jcarousel-post-slider.php+315
Declaration of CSNV_Walker_Category_Checklist::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array)
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_slider_post
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_theme_support() in wp-content/plugins/jcarousel-post-slider/jcarousel-post-slider.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Demo horizontal slider), #2 (Widget configuration)
jcarousel-post-slider/jcarousel-post-slider.php Passed 13 tests
The main PHP file in "Jcarousel Post Slider" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Show post from checked categories as slider using jquery jcarousel
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,299 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 168 | 223 | 666 |
CSS | 3 | 88 | 30 | 444 |
PHP | 1 | 45 | 171 | 189 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/skins/saokim/prev.png | 4.58KB | 1.60KB | ▼ 65.12% |
js/skins/tango/prev-vertical.png | 3.87KB | 1.95KB | ▼ 49.67% |
js/skins/saokim/up.png | 4.54KB | 1.59KB | ▼ 64.90% |
js/skins/saokim/next.png | 4.52KB | 1.60KB | ▼ 64.56% |
screenshot-2.png | 20.05KB | 10.61KB | ▼ 47.06% |