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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.22ms] Passed 4 tests
This is a short check of server-side resources used by Leadster
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 48.63 ▲13.47 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.64 ▼17.69 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.53 ▼4.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.48 ▼7.62 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.29 ▲0.87 |
Leadster /wp-admin/options-general.php?page=leadster | 3.23 | 33.03 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Leadster
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.67 ▲0.33 | 2.33 ▲0.83 | 51.29 ▲14.90 |
Dashboard /wp-admin | 2,201 ▲26 | 5.58 ▼0.10 | 90.01 ▼23.00 | 39.16 ▼5.44 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▲0.00 | 40.72 ▲1.81 | 34.36 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,531 ▼9 | 23.66 ▲0.66 | 685.09 ▼2.04 | 54.66 ▼0.63 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.24 ▲0.07 | 97.16 ▼1.34 | 45.15 ▲2.26 |
Leadster /wp-admin/options-general.php?page=leadster | 857 | 1.99 | 27.10 | 25.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/leadster-marketing-conversacional/views/flash-messages/error.php
- > /wp-content/plugins/leadster-marketing-conversacional/leadster.php
- > /wp-content/plugins/leadster-marketing-conversacional/views/script-code.php
- > /wp-content/plugins/leadster-marketing-conversacional/views/content.php
- > /wp-content/plugins/leadster-marketing-conversacional/views/flash-messages/success.php
- > /wp-content/plugins/leadster-marketing-conversacional/views/flash-messages/warning.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: marketing conversacional, marketing, gerao de leads, leads, leadster...
leadster-marketing-conversacional/leadster.php 77% from 13 tests
The entry point to "Leadster" version 1.2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/i18n/")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("leadster-marketing-conversacional.php" instead of "leadster.php")
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
Everything looks great! No dangerous files found in this plugin223 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 61 | 62 | 207 |
CSS | 1 | 3 | 0 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected