Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/my-envato/my-envato.php+49
Function create_function() is deprecated
Server metrics [RAM: ▼1.83MB] [CPU: ▼217.97ms] Passed 4 tests
Analyzing server-side resources used by My Envato
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.81 ▼0.92 | 5.59 ▼15.23 |
Dashboard /wp-admin | 1.83 ▼1.23 | 6.47 ▼39.60 |
Posts /wp-admin/edit.php | 1.83 ▼1.28 | 4.89 ▼37.34 |
Add New Post /wp-admin/post-new.php | 1.83 ▼3.61 | 4.76 ▼767.92 |
Media Library /wp-admin/upload.php | 1.83 ▼1.18 | 7.28 ▼27.03 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_pvw_me_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for My Envato
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.95 ▲0.34 | 8.40 ▼4.87 | 47.78 ▼5.55 |
Dashboard /wp-admin | 2,970 ▲39 | 5.91 ▼0.04 | 136.32 ▼18.66 | 110.08 ▼6.55 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 61.30 ▼4.42 | 82.88 ▼11.66 |
Add New Post /wp-admin/post-new.php | 1,504 ▲6 | 18.59 ▼0.27 | 368.56 ▲2.01 | 110.04 ▼7.60 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.08 ▲0.04 | 149.63 ▼2.06 | 114.72 ▲4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/my-envato/my-envato.php+49
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 1 option in the database
- widget_pvw_me_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/my-envato/my-envato.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
my-envato/my-envato.php Passed 13 tests
The main PHP file in "My Envato" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
81 characters long description:
A super simple plugin to display your recent 25 items from an Envato Marketplace.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin118 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 19 | 118 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected