Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.68ms] Passed 4 tests
A check of server-side resources used by Product Auto Release with Upvote & Countdown
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.23 ▼5.58 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.56 ▼1.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.12 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.03 ▼0.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.89 ▲5.18 |
Product Auto Release /wp-admin/options-general.php?page=product-auto-release | 3.00 | 23.05 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Product Auto Release with Upvote & Countdown
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.17 ▼1.07 | 1.59 ▼0.41 | 39.38 ▼13.64 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.01 | 101.81 ▼14.41 | 35.98 ▼10.53 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 1.98 ▼0.02 | 52.11 ▲14.35 | 35.28 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.50 ▲5.96 | 647.73 ▼48.40 | 64.18 ▼6.33 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▲0.03 | 98.37 ▼0.73 | 44.67 ▼1.43 |
Product Auto Release /wp-admin/options-general.php?page=product-auto-release | 28 | 0.44 | 0.08 | 3.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/product-auto-release-with-upvote-countdown/admin/class-voted-list-table.php on line 9
- > 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/product-auto-release-with-upvote-countdown/admin/class-voted-list-table.php on line 9
- > 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/product-auto-release-with-upvote-countdown/admin/class-voted-list-table.php on line 9
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=product-auto-release
- > Network (severe)
wp-admin/options-general.php?page=product-auto-release - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Plugin settings page.), #2 (Product auto release settings.), #3 (Product live admin email setting.), #4 (Displat upvote and timer in product page.), #5 (Display upvote lists with product filter.)
product-auto-release-with-upvote-countdown/product-auto-release-lite.php 77% from 13 tests
The main file in "Product Auto Release with Upvote & Countdown" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("product-auto-release-with-upvote-countdown.php" instead of "product-auto-release-lite.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,422 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 272 | 546 | 1,117 |
JavaScript | 4 | 28 | 0 | 196 |
CSS | 5 | 11 | 4 | 73 |
Markdown | 1 | 12 | 0 | 30 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 26.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 4 | 8.00% |
▷ Public methods | 46 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.00% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected