Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.82ms] Passed 4 tests
A check of server-side resources used by Unlimited Logo Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 38.18 ▼1.18 |
Dashboard /wp-admin | 3.52 ▲0.18 | 49.60 ▼8.24 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 56.34 ▲9.20 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 82.53 ▲0.36 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.17 ▲1.77 |
Add New Carousel /wp-admin/post-new.php?post_type=ed_logo | 3.49 | 46.09 |
Global Settings /wp-admin/edit.php?post_type=ed_logo&page=settings | 3.42 | 36.23 |
All Carousel /wp-admin/edit.php?post_type=ed_logo | 3.49 | 38.64 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
ed_logo_carousel_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Unlimited Logo Carousel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,152 ▲406 | 16.18 ▲1.93 | 5.28 ▲3.22 | 38.30 ▼7.24 |
Dashboard /wp-admin | 2,440 ▲252 | 6.89 ▲0.99 | 140.46 ▲36.67 | 40.69 ▲0.98 |
Posts /wp-admin/edit.php | 2,349 ▲260 | 3.40 ▲1.36 | 57.98 ▲18.10 | 33.93 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,564 ▲22 | 17.73 ▼0.60 | 658.05 ▲46.43 | 36.43 ▼16.09 |
Media Library /wp-admin/upload.php | 1,479 ▲88 | 4.58 ▲0.24 | 91.60 ▼7.83 | 40.39 ▼4.50 |
Add New Carousel /wp-admin/post-new.php?post_type=ed_logo | 3,662 | 5.08 | 141.04 | 59.42 |
Global Settings /wp-admin/edit.php?post_type=ed_logo&page=settings | 2,917 | 4.11 | 103.49 | 31.25 |
All Carousel /wp-admin/edit.php?post_type=ed_logo | 1,333 | 3.76 | 45.16 | 26.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- ed_logo_carousel_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-logo-carousel/inc/logo-metabox.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-logo-carousel/inc/unlimited-logo-carousel.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-logo-carousel/inc/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-logo-carousel/inc/views.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-logo-carousel/inc/meta-settings.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=ed_logo&page=settings
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=ed_logo&page=settings 453 The specified value "#d5d5d5" cannot be parsed, or is out of range.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Add New & Settings Page), #2 (Global Settings Page), #3 (Demo)
- Tags: There are too many tags (18 tag instead of maximum 10)
unlimited-logo-carousel/unlimited-logo-carousel.php Passed 13 tests
The principal PHP file in "Unlimited Logo Carousel" v. 1.3 is loaded by WordPress automatically on each request
137 characters long description:
Unlimited Logo Carousel allows you to easily create logo carousel/slider to display logos of clients, partners, sponsors, affiliates etc.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected2,592 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 237 | 14 | 1,378 |
PHP | 8 | 185 | 98 | 946 |
CSS | 2 | 23 | 8 | 235 |
SVG | 1 | 0 | 1 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.87MB with 0.39MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 193.68KB | 85.04KB | ▼ 56.09% |
assets/grabbing.png | 0.11KB | 0.14KB | 0.00% |
screenshot-2.png | 51.86KB | 28.21KB | ▼ 45.61% |
screenshot-3.png | 643.44KB | 151.59KB | ▼ 76.44% |