Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.93ms] Passed 4 tests
Server-side resources used by Logo Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.02 ▲3.84 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.19 ▼3.15 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.99 ▼6.50 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.34 ▼10.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.12 ▲0.28 |
Logo Slider Setting /wp-admin/edit.php?post_type=cbls_logo_slider&page=logo-page-setting | 3.29 | 32.39 |
Add New Logo /wp-admin/post-new.php?post_type=cbls_logo_slider | 3.32 | 48.27 |
All Logos /wp-admin/edit.php?post_type=cbls_logo_slider | 3.30 | 38.83 |
About Us /wp-admin/edit.php?post_type=cbls_logo_slider&page=about-us | 3.25 | 32.97 |
Server storage [IO: ▲0.27MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Logo Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲130 | 14.20 ▼0.18 | 3.38 ▲1.71 | 38.98 ▼4.43 |
Dashboard /wp-admin | 2,248 ▲71 | 5.65 ▼0.03 | 91.34 ▼4.35 | 38.04 ▼6.24 |
Posts /wp-admin/edit.php | 2,160 ▲57 | 2.01 ▲0.02 | 34.74 ▼6.69 | 33.34 ▼5.70 |
Add New Post /wp-admin/post-new.php | 1,586 ▲60 | 23.25 ▲5.45 | 687.96 ▲47.63 | 61.46 ▲3.23 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.23 ▼0.04 | 107.04 ▼0.02 | 44.57 ▼3.57 |
Logo Slider Setting /wp-admin/edit.php?post_type=cbls_logo_slider&page=logo-page-setting | 993 | 2.02 | 22.63 | 32.56 |
Add New Logo /wp-admin/post-new.php?post_type=cbls_logo_slider | 1,703 | 3.61 | 60.33 | 32.58 |
All Logos /wp-admin/edit.php?post_type=cbls_logo_slider | 1,131 | 1.94 | 30.79 | 30.44 |
About Us /wp-admin/edit.php?post_type=cbls_logo_slider&page=about-us | 857 | 2.05 | 24.32 | 30.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=cbls_logo_slider&page=logo-page-setting
- > Notice in wp-content/plugins/cb-logo-slider/pages/logo-page-setting.php+22
Undefined index: add_opt_submit
- > GET request to /wp-admin/edit.php?post_type=cbls_logo_slider&page=logo-page-setting
- > Notice in wp-content/plugins/cb-logo-slider/pages/logo-page-setting.php+58
Undefined variable: message
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cb-logo-slider/pages/about-us.php:2
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Back end logo slider setting), #2 (Back end add new logo), #3 (Front end slider look)
cb-logo-slider/cb-logo-slider.php Passed 13 tests
The entry point to "Logo Slider" version 1.0.0 is a PHP file that has certain tags in its header comment area
69 characters long description:
This plugin will add a responsive logo slider in your wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,991 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 207 | 17 | 1,288 |
CSS | 3 | 48 | 32 | 368 |
PHP | 3 | 64 | 44 | 335 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 14 | |
▷ Named functions | 14 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 43.79KB | 20.32KB | ▼ 53.60% |
screenshot-3.png | 112.96KB | 31.18KB | ▼ 72.40% |
screenshot-2.png | 37.77KB | 17.93KB | ▼ 52.53% |