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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by Post Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 38.64 ▼4.02 |
Dashboard /wp-admin | 3.33 ▲0.03 | 41.40 ▼10.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 40.20 ▼6.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.60 ▲10.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.58 ▲6.98 |
Add New /wp-admin/post-new.php?post_type=mpsp_slider | 3.30 | 41.59 |
All Posts Sliders /wp-admin/edit.php?post_type=mpsp_slider | 3.30 | 36.32 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Post Slider: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲128 | 13.32 ▼1.08 | 1.79 ▲0.02 | 36.51 ▼11.89 |
Dashboard /wp-admin | 2,244 ▲56 | 5.87 ▲0.95 | 111.11 ▼4.20 | 47.48 ▲3.44 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.01 ▲0.01 | 37.19 ▲2.87 | 36.88 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,568 ▲35 | 23.14 ▲0.09 | 650.40 ▲47.76 | 46.04 ▲2.62 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.30 ▲0.08 | 98.01 ▲2.74 | 41.30 ▲0.79 |
Add New /wp-admin/post-new.php?post_type=mpsp_slider | 2,814 | 3.22 | 93.04 | 105.07 |
All Posts Sliders /wp-admin/edit.php?post_type=mpsp_slider | 1,079 | 1.93 | 30.35 | 31.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/posts-slider/css/slider_settings.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/posts-slider/mpsp_slider_generator.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/posts-slider/askrev.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/posts-slider/mpsp_shortcode_gen.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/posts-slider/mpsp_cs_post_type.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/posts-slider/mpsp_scripts.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/posts-slider/mpsp_metaboxes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/posts-slider/mpsp_cs_post_type.php:36
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Too many tags (84 tag instead of maximum 10); only the first 5 tags are used in your directory listing
posts-slider/Posts-Slider.php 92% from 13 tests
"Post Slider" version 2.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("posts-slider.php" instead of "Posts-Slider.php")
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
Success! There were no dangerous files found in this plugin2,348 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 207 | 17 | 1,291 |
PHP | 13 | 369 | 50 | 689 |
CSS | 4 | 48 | 28 | 368 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 19 | |
▷ Named functions | 19 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/layout-def.png | 5.91KB | 2.19KB | ▼ 62.97% |
owl-carousel/grabbing.png | 0.11KB | 0.14KB | 0.00% |
(invalid) img/._layout-def.png | 11.82KB | 0.00KB | ▼ 100.00% |
(invalid) img/._layout-1.png | 14.67KB | 0.00KB | ▼ 100.00% |
img/layout-1.png | 8.93KB | 3.02KB | ▼ 66.21% |