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.36MB] [CPU: ▲1.26ms] Passed 4 tests
Analyzing server-side resources used by WP Featured Content and Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.34 | 37.85 ▲0.26 |
Dashboard /wp-admin | 3.65 ▲0.35 | 47.21 ▲1.08 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 49.01 ▲2.38 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.39 | 94.71 ▲1.30 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 37.16 ▲6.22 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
wpos_anylc_site_uid |
wpos_anylc_redirect |
Browser metrics Passed 4 tests
WP Featured Content and Slider: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,529 ▼1,258 | 13.40 ▼0.98 | 1.68 ▼0.23 | 16.70 ▼21.87 |
Dashboard /wp-admin | 2,221 ▲43 | 5.54 ▼0.19 | 100.43 ▼12.00 | 52.93 ▲6.53 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.01 ▲0.07 | 39.95 ▼0.53 | 35.54 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,755 ▲229 | 23.16 ▲0.29 | 631.70 ▲12.64 | 50.15 ▼5.17 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.24 ▲0.07 | 98.81 ▼1.84 | 40.26 ▼4.58 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- wpos_anylc_redirect
- wpos_anylc_site_uid
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-featured-content-and-slider/wp-featured-content-and-slider.php 92% from 13 tests
"WP Featured Content and Slider" version 1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin5,268 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 23 | 511 | 757 | 2,166 |
JavaScript | 6 | 79 | 54 | 263 |
CSS | 6 | 10 | 13 | 167 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 25.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.06% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpos-analytics/assets/images/icon.png | 9.46KB | 3.79KB | ▼ 59.89% |
assets/css/arrow-left-white.png | 2.94KB | 0.17KB | ▼ 94.18% |
assets/css/arrow-right-white.png | 2.91KB | 0.18KB | ▼ 93.93% |
assets/css/arrow-left.png | 1.15KB | 0.17KB | ▼ 85.11% |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |