Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲1.44ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Logo Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.61 ▼2.96 |
Dashboard /wp-admin | 3.37 ▲0.06 | 55.00 ▲3.71 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 60.34 ▲6.72 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.79 ▼1.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 44.84 ▲7.02 |
Add New Slider /wp-admin/post-new.php?post_type=ata_logo | 3.33 | 60.51 |
Global Settings /wp-admin/edit.php?post_type=ata_logo&page=settings | 3.26 | 37.82 |
All Slider /wp-admin/edit.php?post_type=ata_logo | 3.33 | 40.35 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
ata_logo_carousel_options |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Logo Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,104 ▲343 | 15.31 ▲1.03 | 5.63 ▲3.65 | 43.37 ▲0.22 |
Dashboard /wp-admin | 2,392 ▲212 | 6.65 ▲1.04 | 124.79 ▲33.45 | 40.76 ▼3.49 |
Posts /wp-admin/edit.php | 2,317 ▲214 | 3.46 ▲1.44 | 56.61 ▲14.39 | 34.52 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 23.77 ▲0.33 | 684.06 ▲34.45 | 36.40 ▼13.85 |
Media Library /wp-admin/upload.php | 1,457 ▲60 | 4.60 ▲0.36 | 110.08 ▲2.88 | 46.43 ▲1.74 |
Add New Slider /wp-admin/post-new.php?post_type=ata_logo | 3,617 | 5.02 | 119.74 | 59.28 |
Global Settings /wp-admin/edit.php?post_type=ata_logo&page=settings | 2,890 | 5.36 | 97.26 | 31.70 |
All Slider /wp-admin/edit.php?post_type=ata_logo | 1,303 | 3.73 | 43.69 | 26.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- ata_logo_carousel_options
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-logo-slider/inc/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-logo-slider/inc/views.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-logo-slider/inc/meta-settings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-logo-slider/inc/unlimited-logo-carousel.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-logo-slider/inc/logo-metabox.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=ata_logo&page=settings
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=ata_logo&page=settings 453 The specified value "#d5d5d5" cannot be parsed, or is out of range.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Add New & Settings Page), #2 (Global Settings Page), #3 (Demo)
ultimate-logo-slider/ultimate_logo_slider.php 92% from 13 tests
Analyzing the main PHP file in "Ultimate Logo Slider" version 1.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("ultimate-logo-slider.php" instead of "ultimate_logo_slider.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
There were no executable files found in this plugin2,563 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 236 | 15 | 1,377 |
PHP | 9 | 183 | 99 | 951 |
CSS | 2 | 23 | 8 | 235 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.87MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 643.44KB | 151.59KB | ▼ 76.44% |
assets/grabbing.png | 0.11KB | 0.14KB | 0.00% |
assets/icon.png | 1.25KB | 0.68KB | ▼ 46.02% |
screenshot-1.png | 193.68KB | 85.04KB | ▼ 56.09% |
screenshot-2.png | 51.86KB | 28.21KB | ▼ 45.61% |