Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.03ms] Passed 4 tests
Analyzing server-side resources used by Instant Design Tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.79 ▼1.87 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.25 ▲0.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.67 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.29 ▼9.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.45 ▲1.15 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Instant Design Tool
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.14 ▼1.40 | 1.81 ▼0.10 | 39.35 ▼9.63 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▼0.05 | 97.46 ▼5.67 | 35.71 ▼8.35 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.04 | 41.63 ▲0.90 | 38.62 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.27 ▲0.02 | 719.48 ▲24.15 | 57.62 ▲1.44 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▼0.00 | 101.11 ▼9.67 | 46.96 ▲1.09 |
Uninstaller [IO: ▲0.24MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following itemsThis plugin does not fully uninstall, leaving 7 options in the database
- This plugin cannot be uninstalled
- > Error in wp-content/plugins/instant-design-tool/uninstall.php+12
Uncaught Error: Class 'IDT\Core\Logger\IDT_Logger' not found in wp-content/plugins/instant-design-tool/uninstall.php:12
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - Uninstaller has failed for this plugin, leaving 84 files (0.24MB) in the plugin directory
- (new file) IDTnl_NL.po
- (new file) composer.json
- (new file) IDT.php
- (new file) composer.lock
- (new file) includes/Admin/IDT_Button_Post_Type.php
- (new file) includes/Admin/IDT_Settings_Tab.php
- (new file) includes/Admin/IDT_Update_Manager.php
- (new file) IDT-nl_NL.mo
- (new file) IDT.pot
- (new file) README.MD
- ...
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- recovery_mode_email_last_sent
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/instant-design-tool/includes/Core/Elementor/IDT_Widget.php:17
- > PHP Fatal error
Uncaught Error: Class 'IDT\\Core\\PrintApi\\PrintApiException' not found in wp-content/plugins/instant-design-tool/includes/Core/PrintApi/Exceptions/PrintApiResponseException.php:14
- > PHP Fatal error
Uncaught Error: Class 'IDT\\Core\\Logger\\IDT_Logger' not found in wp-content/plugins/instant-design-tool/uninstall.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Instant Design Tool example), #2 (Instant Design Tool application example), #3 (Settings fields in WooCommerce), #4 (How to add a design product in WooCommerce)
instant-design-tool/IDT.php 85% from 13 tests
This is the main PHP file of "Instant Design Tool" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("instant-design-tool.php" instead of "IDT.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected4,552 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 1,030 | 1,301 | 4,468 |
PO File | 1 | 19 | 21 | 60 |
JSON | 2 | 0 | 0 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 9.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 54 | 100.00% |
▷ Final classes | 1 | 1.85% |
Methods | 288 | |
▷ Static methods | 66 | 22.92% |
▷ Public methods | 226 | 78.47% |
▷ Protected methods | 4 | 1.39% |
▷ Private methods | 58 | 20.14% |
Functions | 17 | |
▷ Named functions | 2 | 11.76% |
▷ Anonymous functions | 15 | 88.24% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin