Benchmarks
Plugin footprint 83% from 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.06MB] [CPU: ▼0.23ms] Passed 4 tests
An overview of server-side resources used by Envato Elements - Photos & Elementor Templates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 32.81 ▼3.52 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.15 ▼0.50 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.11 ▼4.71 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 108.52 ▲17.70 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.20 ▲7.82 |
Welcome /wp-admin/admin.php?page=envato-elements | 3.24 | 31.04 |
Server storage [IO: ▲3.48MB] [DB: ▲0.58MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 244 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
envato_elements_version |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
envato_elements_install_time |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Envato Elements - Photos & Elementor Templates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲138 | 14.00 ▼0.42 | 1.62 ▼0.16 | 39.88 ▼1.86 |
Dashboard /wp-admin | 2,287 ▲99 | 5.67 ▲0.79 | 110.11 ▲6.48 | 67.12 ▲24.57 |
Posts /wp-admin/edit.php | 2,179 ▲90 | 2.60 ▲0.60 | 41.56 ▲5.63 | 35.58 ▲4.16 |
Add New Post /wp-admin/post-new.php | 1,743 ▲210 | 23.19 ▼0.01 | 663.03 ▼31.16 | 29.21 ▼21.48 |
Media Library /wp-admin/upload.php | 1,463 ▲72 | 4.99 ▲0.80 | 97.42 ▼0.85 | 78.94 ▲32.93 |
Template Kits /wp-admin/admin.php?page=envato-elements#/template-kits/premium-kits | 3,920 | 7.78 | 50.61 | 65.96 |
Free Blocks /wp-admin/admin.php?page=envato-elements#/template-kits/free-blocks | 1,155 | 3.12 | 52.70 | 32.13 |
Settings /wp-admin/admin.php?page=envato-elements#/settings | 1,206 | 2.94 | 48.38 | 32.92 |
Installed Kits /wp-admin/admin.php?page=envato-elements#/template-kits/installed-kits | 1,037 | 2.88 | 41.51 | 30.55 |
Photos /wp-admin/admin.php?page=envato-elements#/photos | 2,015 | 4.60 | 43.30 | 38.33 |
Welcome /wp-admin/admin.php?page=envato-elements | 1,011 | 2.81 | 44.41 | 31.28 |
Free Kits /wp-admin/admin.php?page=envato-elements#/template-kits/free-kits | 1,892 | 5.64 | 80.53 | 43.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.58MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #5 (**Envato Elements Photos Inside Elementor.**)
envato-elements/envato-elements.php Passed 13 tests
Analyzing the main PHP file in "Envato Elements - Photos & Elementor Templates" version 2.0.12
72 characters long description:
Access beautifully designed Template Kits + Photos from Envato Elements.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin34,123 lines of code in 207 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 6,016 | 4,868 | 23,762 |
JSX | 105 | 476 | 387 | 4,498 |
PHP | 40 | 824 | 1,541 | 3,115 |
Sass | 47 | 364 | 5 | 2,160 |
CSS | 4 | 40 | 1 | 441 |
SVG | 5 | 1 | 1 | 147 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 14.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 4 | 11.76% |
▷ Concrete classes | 30 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 2 | 1.27% |
▷ Public methods | 148 | 94.27% |
▷ Protected methods | 1 | 0.64% |
▷ Private methods | 8 | 5.10% |
Functions | 11 | |
▷ Named functions | 4 | 36.36% |
▷ Anonymous functions | 7 | 63.64% |
Constants | 26 | |
▷ Global constants | 16 | 61.54% |
▷ Class constants | 10 | 38.46% |
▷ Public constants | 10 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 1.31MB with 0.86MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/623b705990823b2ece04.png | 118.27KB | 38.91KB | ▼ 67.10% |
assets/img/f5dd8db270f82286e8e330efae4d7bc8.png | 140.06KB | 39.41KB | ▼ 71.86% |
assets/img/37f916d95a987d2be04618bda81ef636.png | 67.78KB | 27.70KB | ▼ 59.13% |
assets/b961b7df6f56f84a1b98.png | 64.57KB | 23.80KB | ▼ 63.15% |
assets/97ef867a853d80864ccb.png | 65.92KB | 21.50KB | ▼ 67.38% |