Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/yoel-simple-carousel/cuztom/classes/fields/term_checkboxes.class.php+37
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.91ms] Passed 4 tests
A check of server-side resources used by yoel easy responsive carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.16 | 38.87 ▼17.21 |
Dashboard /wp-admin | 3.51 ▲0.21 | 50.81 ▲5.02 |
Posts /wp-admin/edit.php | 3.56 ▼0.28 | 61.78 ▼2.02 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.95 ▼22.53 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 34.22 ▼1.86 |
Add New /wp-admin/post-new.php?post_type=yoel_carousels | 3.54 | 47.07 |
how to use yoel carousels /wp-admin/edit.php?post_type=yoel_carousels&page=wnm_fund_set | 3.34 | 45.13 |
All Yoel Carousels /wp-admin/edit.php?post_type=yoel_carousels | 3.48 | 45.50 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by yoel easy responsive carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲261 | 15.61 ▲1.02 | 3.51 ▲1.24 | 43.43 ▼4.77 |
Dashboard /wp-admin | 2,418 ▲233 | 6.83 ▲0.94 | 135.90 ▲20.36 | 43.07 ▼3.07 |
Posts /wp-admin/edit.php | 2,334 ▲245 | 3.88 ▲1.89 | 80.11 ▲38.78 | 32.17 ▼4.33 |
Add New Post /wp-admin/post-new.php | 1,454 ▼65 | 18.13 ▼5.18 | 605.54 ▼75.47 | 55.10 ▼11.79 |
Media Library /wp-admin/upload.php | 1,470 ▲85 | 4.57 ▲0.37 | 112.51 ▲5.02 | 53.57 ▲6.54 |
Add New /wp-admin/post-new.php?post_type=yoel_carousels | 1,693 | 3.99 | 73.02 | 39.75 |
how to use yoel carousels /wp-admin/edit.php?post_type=yoel_carousels&page=wnm_fund_set | 1,030 | 3.58 | 50.49 | 31.87 |
All Yoel Carousels /wp-admin/edit.php?post_type=yoel_carousels | 1,290 | 3.77 | 51.19 | 28.99 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (desktop), #2 (edit/add carousel), #3 (mobile)
yoel-simple-carousel/index.php 92% from 13 tests
The main PHP script in "yoel easy responsive carousel" version 0.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("yoel-simple-carousel.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected4,610 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 617 | 1,040 | 2,415 |
JavaScript | 4 | 328 | 350 | 2,017 |
Markdown | 1 | 41 | 0 | 99 |
CSS | 3 | 11 | 11 | 64 |
JSON | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 10 | 7.58% |
▷ Public methods | 129 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.27% |
Functions | 18 | |
▷ Named functions | 15 | 83.33% |
▷ Anonymous functions | 3 | 16.67% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.83MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cuztom/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
cuztom/assets/images/mime/file.png | 1.14KB | 0.33KB | ▼ 71.50% |
cuztom/assets/images/jquery-ui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cuztom/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
cuztom/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |