Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.68ms] Passed 4 tests
Analyzing server-side resources used by DryLeads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.19 ▲2.26 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.95 ▼9.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.67 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 92.40 ▲3.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.51 ▼2.32 |
DryLeads /wp-admin/options-general.php?page=dryleads | 4.00 | 40.22 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DryLeads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.17 ▼0.40 | 1.93 ▼0.09 | 43.33 ▲0.63 |
Dashboard /wp-admin | 2,203 ▲23 | 5.59 ▲0.02 | 87.14 ▼6.13 | 44.39 ▲3.04 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.00 ▲0.02 | 40.64 ▲5.27 | 37.31 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.23 ▼0.25 | 599.04 ▼49.94 | 57.97 ▲0.76 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.23 ▲0.12 | 94.11 ▼25.71 | 42.64 ▼5.57 |
DryLeads /wp-admin/options-general.php?page=dryleads | 852 | 2.02 | 26.24 | 28.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/dryleads/views/main.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dryleads/dryleads.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Настройки - интерфейс администратора)
dryleads/dryleads.php Passed 13 tests
The main PHP file in "DryLeads" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
58 characters long description:
Плагин для размещения форм DryLeads
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
Good job! No executable or dangerous file extensions detected301 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 30 | 10 | 219 |
PO File | 1 | 22 | 22 | 61 |
JavaScript | 2 | 0 | 0 | 16 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.08MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 26.16KB | 26.07KB | 0.35% |
assets/screenshot-1.png | 27.14KB | 27.46KB | 0.00% |
assets/screenshot-2.png | 30.20KB | 31.47KB | 0.00% |