Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼278.39ms] Passed 4 tests
A check of server-side resources used by WP EnvyBox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 30.01 ▲6.99 |
Dashboard /wp-admin | 3.10 ▲0.05 | 43.15 ▲4.69 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 41.72 ▼4.21 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 86.96 ▼1,108.07 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 32.83 ▼5.98 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP EnvyBox
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲101 | 15.90 ▲0.34 | 8.07 ▼0.11 | 46.54 ▲1.00 |
Dashboard /wp-admin | 2,964 ▲111 | 5.91 ▲0.10 | 133.67 ▼0.05 | 105.65 ▼0.06 |
Posts /wp-admin/edit.php | 2,711 ▲8 | 2.69 ▲0.01 | 66.15 ▼0.60 | 95.17 ▲3.12 |
Add New Post /wp-admin/post-new.php | 1,854 ▲201 | 17.72 ▼0.98 | 346.35 ▼13.56 | 107.94 ▲3.82 |
Media Library /wp-admin/upload.php | 1,777 ▲8 | 5.02 ▲0.01 | 137.30 ▼21.57 | 101.87 ▼17.46 |
WP EnvyBox /wp-admin/wp-envybox.php | 26 | 0.90 | 0.05 | 10.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-envybox/admin/admin-page.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/wp-envybox.php
- > Network (severe)
wp-admin/wp-envybox.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (screenshot-1.png) image required
wp-envybox/wp-envybox.php Passed 13 tests
The principal PHP file in "WP EnvyBox" v. 1.0 is loaded by WordPress automatically on each request
72 characters long description:
Services for the site, allowing you to increase the conversion to leads.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected243 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 5 | 9 | 201 |
PO File | 1 | 11 | 11 | 42 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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 0% from 1 test
Image compression 0% from 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.65MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/item6.png | 38.86KB | 15.45KB | ▼ 60.25% |
assets/images/item5.png | 47.32KB | 15.80KB | ▼ 66.60% |
assets/images/item3.png | 98.66KB | 27.30KB | ▼ 72.33% |
assets/images/item4.png | 40.21KB | 12.58KB | ▼ 68.71% |
screenshot-1.png | 284.37KB | 98.84KB | ▼ 65.24% |