Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼172.26ms] Passed 4 tests
This is a short check of server-side resources used by Info boxes for elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 38.58 ▲3.81 |
Dashboard /wp-admin | 3.08 ▲0.02 | 47.22 ▲3.69 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 49.54 ▲3.57 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 93.85 ▼696.00 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.94 ▼0.31 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Info boxes for elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲129 | 15.89 ▲0.41 | 10.03 ▼1.64 | 53.21 ▼1.05 |
Dashboard /wp-admin | 2,995 ▲58 | 6.08 ▲0.07 | 139.67 ▼21.57 | 107.03 ▼10.60 |
Posts /wp-admin/edit.php | 2,762 ▲23 | 2.70 ▲0.01 | 70.84 ▲0.69 | 90.72 ▼6.05 |
Add New Post /wp-admin/post-new.php | 1,510 ▲12 | 18.87 ▲0.03 | 385.44 ▼5.53 | 117.50 ▼3.15 |
Media Library /wp-admin/upload.php | 1,830 ▲23 | 5.01 ▼0.02 | 164.57 ▲12.16 | 132.64 ▲8.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Info_Boxes_For_Elementor\\add_action() in wp-content/plugins/info-boxes-for-elementor/plugin.php:115
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Screenshots: A description for screenshot #4 is required in info-boxes-for-elementor/assets to your readme.txt
info-boxes-for-elementor/info-boxes-for-elementor.php Passed 13 tests
The main file in "Info boxes for elementor" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin822 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 108 | 178 | 701 |
CSS | 1 | 21 | 3 | 114 |
JavaScript | 1 | 2 | 2 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 23 | 76.67% |
▷ Protected methods | 6 | 20.00% |
▷ Private methods | 1 | 3.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/polygon.png | 0.88KB | 0.48KB | ▼ 45.28% |