Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/bootstrap-carousel-2x-post-widget/bdwebteam-carousel-2x-post-widget.php+42
Function create_function() is deprecated
Server metrics [RAM: ▼1.80MB] [CPU: ▼51.42ms] Passed 4 tests
A check of server-side resources used by Bootstrap Carousel 2x Post Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 5.17 ▼36.38 |
Dashboard /wp-admin | 2.20 ▼1.10 | 7.71 ▼40.49 |
Posts /wp-admin/edit.php | 2.21 ▼1.15 | 7.39 ▼42.15 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.68 | 8.19 ▼86.66 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 5.29 ▼32.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_bdwebteam-carousel-2x-post-widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Bootstrap Carousel 2x Post Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.23 ▼1.14 | 1.73 ▼0.08 | 43.24 ▼3.01 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▲0.88 | 97.91 ▼10.46 | 46.16 ▲2.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.00 | 33.98 ▼2.65 | 34.15 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.14 ▼0.09 | 639.74 ▼39.25 | 62.60 ▲7.69 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.19 ▲0.08 | 95.90 ▼19.45 | 40.32 ▼8.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/bootstrap-carousel-2x-post-widget/bdwebteam-carousel-2x-post-widget.php+42
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_bdwebteam-carousel-2x-post-widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
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 90% 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:
- Tags: There are too many tags (17 tag instead of maximum 10)
bootstrap-carousel-2x-post-widget/bdwebteam-carousel-2x-post-widget.php 85% from 13 tests
The main file in "Bootstrap Carousel 2x Post Widget" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("bootstrap-carousel-2x-post-widget.php" instead of "bdwebteam-carousel-2x-post-widget.php")
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
There were no executable files found in this plugin564 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 62 | 117 | 414 |
CSS | 1 | 30 | 14 | 131 |
PO File | 1 | 3 | 3 | 19 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected