Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.14MB] [CPU: ▼5.49ms] Passed 4 tests
An overview of server-side resources used by Elevator Asset Browser
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.54 ▼4.15 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.18 ▼1.69 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 52.10 ▲4.59 |
Add New Post /wp-admin/post-new.php | 5.23 ▼0.66 | 61.17 ▼20.71 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.19 ▲4.91 |
Elevator Asset Browser /wp-admin/options-general.php?page=elevatorasset | 3.29 | 34.91 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
elevatorasset_global_settings |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Elevator Asset Browser
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲306 | 15.36 ▲0.77 | 5.56 ▲3.77 | 44.33 ▼5.10 |
Dashboard /wp-admin | 2,367 ▲179 | 6.65 ▲1.75 | 134.04 ▲19.57 | 42.79 ▼1.68 |
Posts /wp-admin/edit.php | 2,270 ▲181 | 3.51 ▲1.55 | 53.41 ▲17.14 | 32.09 ▼1.92 |
Add New Post /wp-admin/post-new.php | 6,438 ▲4,905 | 28.62 ▲5.29 | 897.72 ▲243.11 | 39.86 ▼21.19 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.36 ▲0.24 | 82.61 ▼19.48 | 40.76 ▼1.85 |
Elevator Asset Browser /wp-admin/options-general.php?page=elevatorasset | 1,108 | 3.49 | 45.80 | 25.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- elevatorasset_global_settings
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-elevator-asset-browser/public/views/public.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/wp-elevator-asset-browser/admin/views/admin.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Tags: There were no tags found
wp-elevator-asset-browser/elevatorasset.php 85% from 13 tests
The primary PHP file in "Elevator Asset Browser" version 0.1.9 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-elevator-asset-browser.php" instead of "elevatorasset.php")
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
There were no executable files found in this plugin8,341 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 7,169 |
PHP | 9 | 348 | 492 | 870 |
JavaScript | 6 | 71 | 44 | 222 |
CSS | 3 | 21 | 5 | 80 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 26.75 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 7 | 10.29% |
▷ Public methods | 62 | 91.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 8.82% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 11.50KB | 5.06KB | ▼ 56.00% |