Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼1.81ms] Passed 4 tests
Analyzing server-side resources used by Simple Logo Carousel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 37.48 ▼6.02 |
Dashboard /wp-admin | 3.82 ▲0.51 | 49.71 ▼1.35 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 48.77 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.45 | 98.33 ▲2.52 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 34.71 ▼1.19 |
Settings /wp-admin/edit.php?post_type=slc_carousel&page=settings | 3.88 | 33.75 |
Add Logo /wp-admin/post-new.php?post_type=slc_logo | 3.76 | 53.17 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
slc_initial_carousel_options |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Logo Carousel
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲130 | 14.47 ▲0.18 | 1.87 ▲0.04 | 37.53 ▼6.51 |
Dashboard /wp-admin | 2,249 ▲61 | 5.88 ▲0.97 | 99.04 ▼16.04 | 40.41 ▼8.92 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.01 ▼0.04 | 40.63 ▲5.01 | 35.86 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,568 ▲49 | 22.79 ▼0.36 | 592.69 ▼63.30 | 53.13 ▼6.01 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.14 ▼0.10 | 98.73 ▼8.29 | 46.08 ▲1.48 |
Settings /wp-admin/edit.php?post_type=slc_carousel&page=settings | 2,067 | 2.65 | 60.39 | 30.63 |
Add Logo /wp-admin/post-new.php?post_type=slc_logo | 1,881 | 3.55 | 69.50 | 33.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-logo-carousel/simple-logo-carousel.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PLSimpleLogoCarousel\\Base\\BaseController' not found in wp-content/plugins/simple-logo-carousel/includes/Pages/Settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_terms() in wp-content/plugins/simple-logo-carousel/templates/admin/carousel-preview-metabox.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-logo-carousel/templates/admin/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/simple-logo-carousel/templates/admin/carousel-logo-display-options-metabox.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/simple-logo-carousel/templates/admin/carousel-logo-display-order-metabox.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/simple-logo-carousel/templates/admin/carousel-options-metabox.php:7
- > PHP Fatal error
Uncaught Error: Class 'PLSimpleLogoCarousel\\Base\\BaseController' not found in wp-content/plugins/simple-logo-carousel/includes/Pages/Logo.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-logo-carousel/templates/admin/carousel-shortcode-metabox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-logo-carousel/templates/admin/carousel-how-to-metabox.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/simple-logo-carousel/templates/admin/logo-metabox.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: logo slider, logo carousel, carousel, slider
simple-logo-carousel/simple-logo-carousel.php Passed 13 tests
The main file in "Simple Logo Carousel" v. 1.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
A simplistic carousel to elegantly display logos. Powered by slick.
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 plugin3,766 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 339 | 637 | 3,188 |
CSS | 5 | 79 | 5 | 390 |
JavaScript | 4 | 33 | 39 | 159 |
JSON | 2 | 0 | 0 | 18 |
SVG | 2 | 0 | 1 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 72 | |
▷ Static methods | 11 | 15.28% |
▷ Public methods | 70 | 97.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.78% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin