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.08MB] [CPU: ▼8.90ms] Passed 4 tests
Server-side resources used by Envato Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.12 | 48.44 ▲1.40 |
Dashboard /wp-admin | 3.71 ▲0.07 | 52.57 ▼20.98 |
Posts /wp-admin/edit.php | 3.76 ▲0.08 | 51.17 ▼5.94 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.08 | 92.20 ▼9.96 |
Media Library /wp-admin/upload.php | 3.57 ▲0.08 | 41.22 ▲1.27 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Envato Toolkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.73 ▲0.36 | 1.96 ▲0.13 | 43.81 ▲1.41 |
Dashboard /wp-admin | 2,207 ▲33 | 5.65 ▲0.03 | 86.87 ▼13.61 | 43.03 ▼9.87 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 2.05 ▼0.00 | 35.62 ▼0.51 | 33.21 ▼3.15 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.37 ▲5.99 | 594.12 ▼124.72 | 52.07 ▲2.37 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.23 ▼0.03 | 98.94 ▼2.99 | 40.36 ▼8.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/toolkit-for-envato/EnvatoToolkit.php
- > /wp-content/plugins/toolkit-for-envato/Templates/template.SearchResults.php
- > /wp-content/plugins/toolkit-for-envato/Templates/template.SearchInput.php
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 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: validation, marketplace, license, api, update checker...
toolkit-for-envato/EnvatoToolkit.php 69% from 13 tests
The entry point to "Envato Toolkit" version 1.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("/Languages")
- 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: It is recommended to name the main PHP file as the plugin slug ("toolkit-for-envato.php" instead of "EnvatoToolkit.php")
- Description: The description should be shorter than 140 characters (currently 450 characters long)
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
Everything looks great! No dangerous files found in this plugin1,646 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 283 | 509 | 1,535 |
CSS | 1 | 3 | 16 | 111 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 31.12 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 3 | 37.50% |
Methods | 94 | |
▷ Static methods | 1 | 1.06% |
▷ Public methods | 85 | 90.43% |
▷ Protected methods | 4 | 4.26% |
▷ Private methods | 5 | 5.32% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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