Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.68ms] Passed 4 tests
This is a short check of server-side resources used by Flirty Leads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 38.43 ▼2.60 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.30 ▼14.23 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 48.89 ▼1.31 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 90.03 ▼8.56 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.90 ▲5.06 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Flirty Leads
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲140 | 13.60 ▼0.77 | 5.69 ▲3.61 | 36.85 ▼7.71 |
Dashboard /wp-admin | 2,209 ▲18 | 4.85 ▼0.02 | 105.88 ▼3.49 | 38.42 ▼7.01 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.05 ▲0.08 | 40.59 ▲1.34 | 36.93 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.54 ▼5.46 | 660.41 ▼34.55 | 52.75 ▼24.28 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.02 | 95.98 ▼16.37 | 40.26 ▼8.47 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/flirty-leads/uninstall.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flirty-leads/flirty-leads.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: email campaigns, direct dashboard media editing, call to action, lead capture, mailchimp integration
flirty-leads/flirty-leads.php Passed 13 tests
This is the main PHP file of "Flirty Leads" version 3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Flirty Leads lets your site visitors respond your site images. Generate client lists, gain leads.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected575 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 93 | 136 | 504 |
JavaScript | 1 | 24 | 13 | 41 |
CSS | 1 | 16 | 8 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 53 | |
▷ Named functions | 53 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin