Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼5.91ms] Passed 4 tests
A check of server-side resources used by WP MyCarousel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 39.84 ▼0.94 |
Dashboard /wp-admin | 3.57 ▲0.22 | 44.93 ▼17.23 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 48.11 ▼0.73 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 92.20 ▼4.75 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 38.22 ▲4.07 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP MyCarousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲70 | 14.68 ▼0.04 | 1.73 ▼0.19 | 44.70 ▲4.78 |
Dashboard /wp-admin | 2,211 ▲30 | 5.64 ▼0.04 | 92.23 ▼17.03 | 37.22 ▼8.03 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.05 | 40.13 ▼1.15 | 34.64 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.31 ▼0.10 | 654.85 ▲33.76 | 59.74 ▲5.21 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.19 ▲0.01 | 97.21 ▲0.48 | 43.28 ▲1.97 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-mycarousel/include/mynix-class-list-table.php on line 39
- > PHP Warning
Use of undefined constant ASSETS_PATH - assumed 'ASSETS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/config.php on line 44
- > PHP Warning
Use of undefined constant INCLUDE_PATH - assumed 'INCLUDE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/include/autoloader.php on line 40
- > PHP Warning
Use of undefined constant ROOT_PATH - assumed 'ROOT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/include/autoloader.php on line 43
- > PHP Warning
Use of undefined constant ROOT_PATH - assumed 'ROOT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/config.php on line 41
- > PHP Warning
Use of undefined constant ROOT_PATH - assumed 'ROOT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/config.php on line 40
- > PHP Fatal error
Uncaught Error: Call to undefined function MynixCarousel\\__() in wp-content/plugins/wp-mycarousel/include/mynix-welcome.php:39
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-mycarousel/include/mynix-class-list-table.php on line 39
- > PHP Warning
Use of undefined constant INCLUDE_PATH - assumed 'INCLUDE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/include/autoloader.php on line 42
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mycarousel/include/mynix-class-list-table.php on line 39
- > PHP Warning
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, but this is not an exhaustive test
Optimizations
Plugin configuration 83% 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
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-mycarousel ===
)
wp-mycarousel/mynix-carousel.php 69% from 13 tests
The main file in "WP MyCarousel" v. 0.1-10 $... serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "0.1-10 $...")
- Description: The plugin description must be longer than 10 characters (currently 0 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/i18n/languages/")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-mycarousel.php" instead of "mynix-carousel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,312 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 19 | 351 | 1,786 |
CSS | 4 | 2 | 66 | 362 |
JavaScript | 6 | 1 | 33 | 164 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 66.50 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 73 | 92.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 7.59% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/help.png | 0.30KB | 0.32KB | 0.00% |