Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.39ms] Passed 4 tests
An overview of server-side resources used by Real Post Slider Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 45.49 ▲5.07 |
Dashboard /wp-admin | 3.35 ▲0.01 | 51.34 ▼12.59 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.04 ▼5.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.59 ▼15.64 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.85 ▼3.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 17 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
vkrpsl_cat_name |
can_compress_scripts |
vkrpsl_char_limit |
vkrpsl_visible |
vkrpsl_thumb_height |
widget_theysaidso_widget |
vkrpsl_ascdesc |
vkrpsl_slider_width |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Real Post Slider Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲141 | 13.70 ▼0.65 | 6.42 ▲4.55 | 44.02 ▼4.58 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼0.04 | 111.46 ▲1.82 | 42.88 ▲2.51 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.98 ▼0.00 | 37.66 ▼2.93 | 34.12 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,522 ▼6 | 23.36 ▲4.85 | 656.98 ▲29.46 | 52.62 ▼15.80 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.40 ▲0.20 | 101.12 ▼5.32 | 42.63 ▼1.66 |
Real Post Slider Lite /wp-admin/real-post-slider-lite.php | 26 | 0.44 | 0.09 | 16.69 |
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
- This plugin did not uninstall successfully, leaving 17 options in the database
- vkrpsl_slider_width
- vkrpsl_order
- vkrpsl_autoplay_speed
- widget_recent-comments
- db_upgraded
- vkrpsl_thumb_width
- vkrpsl_visible
- can_compress_scripts
- vkrpsl_ascdesc
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-post-slider-lite/real-post-slider-lite.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/real-post-slider-lite.php
- > Network (severe)
wp-admin/real-post-slider-lite.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: slider, posts
real-post-slider-lite/real-post-slider-lite.php Passed 13 tests
"Real Post Slider Lite" version 2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
37 characters long description:
Works as a post slider (lite version)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected477 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 8 | 305 |
JavaScript | 2 | 9 | 0 | 122 |
CSS | 1 | 11 | 0 | 50 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.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 |
css/images/prev.png | 3.42KB | 0.57KB | ▼ 83.19% |
css/images/next.png | 3.36KB | 0.58KB | ▼ 82.69% |