Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.27ms] Passed 4 tests
An overview of server-side resources used by Logo Carousel - Clients logo carousel for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 58.63 ▲17.11 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.76 ▼1.56 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.68 ▲3.68 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 80.86 ▼2.11 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 39.08 ▲5.07 |
Add New /wp-admin/post-new.php?post_type=scrollingcarousel | 3.36 | 47.26 |
Client Logo Carousel /wp-admin/edit.php?post_type=scrollingcarousel | 3.34 | 35.65 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Logo Carousel - Clients logo carousel for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.98 ▼0.78 | 5.23 ▲3.50 | 40.41 ▼0.11 |
Dashboard /wp-admin | 2,232 ▲40 | 4.94 ▲0.02 | 106.50 ▼12.19 | 69.10 ▲22.49 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.04 ▼0.09 | 33.71 ▼7.03 | 32.10 ▼5.79 |
Add New Post /wp-admin/post-new.php | 1,690 ▲162 | 22.48 ▲4.45 | 695.14 ▲84.71 | 63.86 ▲15.06 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.22 ▼0.05 | 93.45 ▼8.92 | 69.58 ▲25.82 |
Add New /wp-admin/post-new.php?post_type=scrollingcarousel | 1,799 | 3.79 | 75.12 | 131.71 |
Client Logo Carousel /wp-admin/edit.php?post_type=scrollingcarousel | 1,084 | 1.94 | 33.12 | 29.37 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/responsive-client-logo-carousel-slider/metabox/class-usage-demo.php:4
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/responsive-client-logo-carousel-slider/scrolling-logo-carosel.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/responsive-client-logo-carousel-slider/scrolling-logo-carosel.php:14
- > 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: client logo carousel, logo slideshow, slider, carousel, client logo slider
responsive-client-logo-carousel-slider/scrolling-logo-carosel.php 92% from 13 tests
The primary PHP file in "Logo Carousel - Clients logo carousel for WordPress" version 1.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-client-logo-carousel-slider.php" instead of "scrolling-logo-carosel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected9,546 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 814 | 828 | 7,310 |
PHP | 3 | 250 | 913 | 1,055 |
CSS | 6 | 156 | 97 | 1,001 |
PO File | 5 | 45 | 55 | 180 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 248.00 |
▷ Minimum class complexity | 248.00 |
▷ Maximum class complexity | 248.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 72 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metabox/meta-box-class/images/move.png | 0.26KB | 0.26KB | 0.00% |
metabox/meta-box-class/js/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
metabox/meta-box-class/js/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
metabox/meta-box-class/js/jquery-ui/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
metabox/meta-box-class/js/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |