Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼3.14ms] Passed 4 tests
Analyzing server-side resources used by WP Logo Showcase Responsive Slider and Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 38.22 ▼1.95 |
Dashboard /wp-admin | 3.63 ▲0.29 | 50.22 ▼14.29 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 63.37 ▲10.76 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 96.29 ▼1.18 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 40.32 ▲4.88 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 60 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpos_anylc_redirect |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
wpos_anylc_site_uid |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Logo Showcase Responsive Slider and Carousel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,546 ▼1,201 | 10.21 ▼4.19 | 1.30 ▼0.44 | 18.39 ▼26.23 |
Dashboard /wp-admin | 2,218 ▲41 | 5.55 ▼0.04 | 98.12 ▼5.41 | 55.46 ▲8.85 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 1.99 ▼0.01 | 40.14 ▼0.92 | 36.55 ▲1.66 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,692 | 19.02 ▼4.07 | 893.05 ▲287.13 | 50.34 ▼15.20 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.20 ▼0.07 | 99.05 ▲0.95 | 41.53 ▲0.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- wpos_anylc_site_uid
- widget_recent-comments
- wpos_anylc_redirect
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
wp-logo-showcase-responsive-slider-slider/logo-showcase.php 92% from 13 tests
The main PHP script in "WP Logo Showcase Responsive Slider and Carousel" version 3.7 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-logo-showcase-responsive-slider-slider.php" instead of "logo-showcase.php")
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
Success! There were no dangerous files found in this plugin3,352 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 574 | 800 | 2,856 |
JavaScript | 6 | 95 | 45 | 311 |
CSS | 5 | 24 | 13 | 184 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 27.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.77 |
▷ 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 | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.71% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
18 PNG files occupy 0.58MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/popup-icon/grid.png | 4.67KB | 2.53KB | ▼ 45.73% |
assets/images/image-upgrade.png | 166.27KB | 48.08KB | ▼ 71.08% |
assets/images/popup-icon/slider-carousel.png | 5.07KB | 2.69KB | ▼ 46.98% |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |
assets/images/easy-to-represent.png | 21.17KB | 9.21KB | ▼ 56.48% |