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
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.97ms] Passed 4 tests
Analyzing server-side resources used by PE Easy Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.99 ▼2.00 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.62 ▼1.94 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.42 ▲0.78 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 95.39 ▲1.44 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.33 ▼0.74 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_pe_recent_posts_horizontal |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PE Easy Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲151 | 13.66 ▼0.72 | 10.50 ▲8.93 | 36.19 ▼13.66 |
Dashboard /wp-admin | 2,203 ▲12 | 5.81 ▼0.08 | 98.00 ▼2.52 | 39.59 ▼5.14 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.05 ▲0.08 | 39.48 ▲4.24 | 36.76 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.43 ▲5.27 | 633.44 ▲30.54 | 55.34 ▲0.55 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.01 | 93.91 ▼5.75 | 40.79 ▼5.74 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_pe_recent_posts_horizontal
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pe-easy-slider/pe-easy-slider.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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: easy slider, widget, thumbnails
pe-easy-slider/pe-easy-slider.php Passed 13 tests
"PE Easy Slider" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
34 characters long description:
Simple Horizontal Slider for Posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,162 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 501 | 17 | 3,105 |
JavaScript | 3 | 3 | 5 | 57 |
PHP | 1 | 21 | 597 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 19.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/play-pause.png | 2.79KB | 0.13KB | ▼ 95.39% |
images/navigation-left-right.png | 3.35KB | 0.49KB | ▼ 85.49% |