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.04MB] [CPU: ▼7.38ms] Passed 4 tests
An overview of server-side resources used by Logos Carousel Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.47 ▼3.44 |
Dashboard /wp-admin | 3.35 ▲0.01 | 43.40 ▼18.63 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.95 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 83.52 ▼7.49 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.84 ▲0.46 |
Shortcode /wp-admin/edit.php?post_type=logocrowsalslider&page= | 3.24 | 32.89 |
All Logo /wp-admin/edit.php?post_type=logocrowsalslider | 3.32 | 35.77 |
Categories /wp-admin/edit-tags.php?taxonomy=logoslidercat&post_type=logocrowsalslider | 3.27 | 32.71 |
Add New Logo /wp-admin/post-new.php?post_type=logocrowsalslider | 3.37 | 49.10 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Logos Carousel Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲123 | 13.18 ▼1.37 | 3.74 ▲2.05 | 40.70 ▼2.72 |
Dashboard /wp-admin | 2,238 ▲50 | 5.82 ▲0.94 | 105.16 ▼16.10 | 40.16 ▼6.15 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.04 ▲0.06 | 38.55 ▲1.29 | 34.60 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 23.51 ▲5.32 | 611.74 ▼12.64 | 62.17 ▲11.67 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.22 ▲0.02 | 95.41 ▼4.40 | 41.08 ▼3.54 |
Shortcode /wp-admin/edit.php?post_type=logocrowsalslider&page= | 792 | 2.18 | 25.08 | 25.23 |
All Logo /wp-admin/edit.php?post_type=logocrowsalslider | 1,127 | 2.00 | 31.07 | 30.27 |
Categories /wp-admin/edit-tags.php?taxonomy=logoslidercat&post_type=logocrowsalslider | 1,294 | 2.14 | 26.32 | 28.21 |
Add New Logo /wp-admin/post-new.php?post_type=logocrowsalslider | 2,089 | 3.75 | 67.89 | 32.91 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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
- 1× 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/logos-carousel-slider/logo-sllider.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: comments, spam
logos-carousel-slider/logo-sllider.php 85% from 13 tests
The principal PHP file in "Logos Carousel Slider" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("logos-carousel-slider.php" instead of "logo-sllider.php")
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
Success! There were no dangerous files found in this plugin2,237 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 828 | 45 | 2,041 |
CSS | 1 | 16 | 0 | 108 |
PHP | 1 | 17 | 12 | 88 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.PNG | 69.71KB | 30.79KB | ▼ 55.83% |