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.06MB] [CPU: ▼3.66ms] Passed 4 tests
Server-side resources used by Responsive Logo Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.69 ▼1.66 |
Dashboard /wp-admin | 3.36 ▲0.06 | 43.30 ▼9.73 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 47.38 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 93.54 ▼3.48 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.76 ▲0.70 |
All Logos /wp-admin/edit.php?post_type=lgs | 3.33 | 34.40 |
Add New /wp-admin/post-new.php?post_type=lgs | 3.36 | 48.24 |
Server storage [IO: ▲0.08MB] [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: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
rlc_carousel_orderby |
widget_recent-comments |
lgs_wordpress_gallery |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Responsive Logo Carousel: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.66 ▼0.77 | 8.13 ▲6.25 | 38.97 ▼8.22 |
Dashboard /wp-admin | 2,240 ▲55 | 4.91 ▼0.02 | 97.74 ▼3.53 | 77.12 ▲34.68 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.06 ▲0.09 | 37.10 ▼1.91 | 33.37 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,553 ▲39 | 18.17 ▲0.70 | 678.92 ▼7.66 | 61.32 ▼1.88 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.23 ▲0.03 | 100.53 ▲1.18 | 75.81 ▲30.76 |
Carousels /wp-admin/edit-tags.php?taxonomy=Logo Carousel&post_type=lgs | 1,298 | 2.17 | 26.45 | 32.01 |
All Logos /wp-admin/edit.php?post_type=lgs | 1,112 | 2.02 | 38.03 | 38.68 |
Add New /wp-admin/post-new.php?post_type=lgs | 1,716 | 3.59 | 63.19 | 87.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- rlc_carousel_orderby
- db_upgraded
- lgs_wordpress_gallery
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-logo-carousel/responsive-logo-carousel.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 53 tag instead of maximum 10
responsive-logo-carousel/responsive-logo-carousel.php Passed 13 tests
The principal PHP file in "Responsive Logo Carousel" v. 1.0.0 is loaded by WordPress automatically on each request
114 characters long description:
A simple plugin to include a responsive carousel customized for logos in any post by using a simplified shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,740 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 214 | 18 | 1,316 |
CSS | 2 | 32 | 23 | 281 |
PHP | 1 | 15 | 14 | 143 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 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
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rl.png | 12.16KB | 6.96KB | ▼ 42.77% |
images/rl1.png | 0.40KB | 0.43KB | 0.00% |
images/owl-logo.png | 0.79KB | 0.84KB | 0.00% |