Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/niz-products-carousel-for-woocommerce/inc/class.niz-dependency-checker.php+22
Undefined variable: _message
Server metrics [RAM: ▼1.91MB] [CPU: ▼51.84ms] Passed 4 tests
This is a short check of server-side resources used by Niz Products Carousel for Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.20 ▼35.49 |
Dashboard /wp-admin | 2.10 ▼1.21 | 5.57 ▼41.99 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.57 ▼40.39 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.65 ▼89.47 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.12 ▼27.02 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Niz Products Carousel for Woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.40 ▼0.97 | 1.61 ▲0.03 | 40.58 ▼0.72 |
Dashboard /wp-admin | 2,224 ▲32 | 4.87 ▼0.03 | 116.09 ▲4.49 | 44.58 ▲2.08 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.01 ▼0.03 | 40.93 ▼5.68 | 36.56 ▲1.26 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.44 ▲5.70 | 672.52 ▲41.15 | 61.78 ▼10.12 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.27 ▲0.08 | 100.04 ▼4.80 | 43.35 ▼0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/niz-products-carousel-for-woocommerce/inc/class.niz-dependency-checker.php+22
Undefined variable: _message
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/niz-products-carousel-for-woocommerce/niz_woopc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% 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:
- Screenshots: A description for screenshot #3 is missing in niz-products-carousel-for-woocommerce/assets to your readme.txt
niz-products-carousel-for-woocommerce/niz_woopc.php 77% from 13 tests
The principal PHP file in "Niz Products Carousel for Woocommerce" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("niz-products-carousel-for-woocommerce.php" instead of "niz_woopc.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin445 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 64 | 63 | 363 |
JavaScript | 3 | 8 | 7 | 77 |
CSS | 4 | 0 | 15 | 5 |
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.14 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 3 | 18.75% |
▷ Public methods | 12 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin