Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼293.87ms] Passed 4 tests
A check of server-side resources used by Genesis Overlay Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.04 | 48.68 ▼9.12 |
Dashboard /wp-admin | 3.41 ▲0.01 | 41.00 ▲8.40 |
Posts /wp-admin/edit.php | 3.64 ▲0.01 | 41.75 ▲5.88 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 108.60 ▼1,170.98 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 25.69 ▼1.24 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Genesis Overlay Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,181 ▼541 | 15.54 ▼0.42 | 0.43 ▼6.01 | 32.58 ▲30.56 |
Dashboard /wp-admin | 2,892 ▲41 | 6.14 ▼0.02 | 120.90 ▼62.70 | 162.66 ▼25.63 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.23 ▲0.01 | 66.14 ▼3.64 | 145.99 ▼54.68 |
Add New Post /wp-admin/post-new.php | 1,773 ▲62 | 20.78 ▼0.98 | 490.07 ▲45.88 | 167.38 ▼24.49 |
Media Library /wp-admin/upload.php | 1,695 ▼6 | 5.51 ▼0.02 | 145.05 ▼2.93 | 249.10 ▲60.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (screenshot-1.jpg)
genesis-widget-overlay/genesis-overlay-widget.php 85% from 13 tests
The principal PHP file in "Genesis Overlay Widget" v. 1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: It is recommended to name the main PHP file as the plugin slug ("genesis-widget-overlay.php" instead of "genesis-overlay-widget.php")
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 detected625 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 43 | 9 | 360 |
PHP | 3 | 65 | 88 | 220 |
JavaScript | 5 | 2 | 3 | 45 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/cross.png | 1.14KB | 0.25KB | ▼ 77.64% |
assets/img/nav.png | 2.89KB | 0.18KB | ▼ 93.72% |