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 gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼11.97ms] Passed 4 tests
An overview of server-side resources used by Automizy Lead Generation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 43.97 ▲2.75 |
Dashboard /wp-admin | 3.51 ▲0.16 | 49.85 ▼10.32 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 46.09 ▼5.29 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.19 | 83.30 ▼33.04 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 34.26 ▲0.76 |
Server storage [IO: ▲3.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 540 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
automizy_client_secret |
can_compress_scripts |
widget_recent-posts |
automizy_client_id |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
automizy_id |
Browser metrics Passed 4 tests
An overview of browser requirements for Automizy Lead Generation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲45 | 13.21 ▼1.37 | 4.80 ▲2.80 | 43.26 ▼0.21 |
Dashboard /wp-admin | 2,225 ▲40 | 5.90 ▲0.01 | 94.18 ▼7.68 | 41.73 ▼2.49 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▼0.03 | 36.47 ▼3.99 | 32.85 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.35 ▲0.19 | 688.81 ▲29.58 | 55.75 ▼2.80 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.17 ▼0.05 | 95.32 ▼2.26 | 42.00 ▼1.16 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- automizy_id
- can_compress_scripts
- automizy_client_secret
- automizy_client_id
- widget_recent-comments
- db_upgraded
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 372× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/Log/PsrLogAdapterTest.php:13
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Service\\AbstractConfigLoader' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/src/Guzzle/Service/Description/ServiceDescriptionLoader.php:11
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultCacheStorageTest.php:15
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Service\\Command\\AbstractCommand' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/src/Guzzle/Service/Command/OperationCommand.php:10
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/Common/Exception/BatchTransferExceptionTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Service\\Resource\\ResourceIterator' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/Service/Mock/Model/MockCommandIterator.php:7
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Service\\Command\\LocationVisitor\\Request\\AbstractRequestVisitor' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php:13
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Plugin\\Backoff\\AbstractBackoffStrategy' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/src/Guzzle/Plugin/Backoff/ConstantBackoffStrategy.php:14
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\Parser\\Message\\MessageParserProvider' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/tests/Guzzle/Tests/Parser/Message/PeclHttpMessageParserTest.php:10
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Plugin\\Backoff\\AbstractErrorCodeBackoffStrategy' not found in wp-content/plugins/automizy-lead-generation/vendor/guzzlehttp/guzzle/src/Guzzle/Plugin/Backoff/ReasonPhraseBackoffStrategy.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: lead generation, email marketing, marketing automation
automizy-lead-generation/bootstrap.php 92% from 13 tests
The main PHP script in "Automizy Lead Generation" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("automizy-lead-generation.php" instead of "bootstrap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin39,127 lines of code in 522 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 438 | 6,404 | 10,861 | 33,982 |
reStructuredText | 30 | 1,236 | 1,794 | 1,824 |
Markdown | 6 | 271 | 0 | 1,315 |
JSON | 34 | 13 | 0 | 1,210 |
XML | 4 | 29 | 11 | 212 |
CSS | 2 | 19 | 2 | 142 |
make | 1 | 24 | 5 | 124 |
JavaScript | 2 | 13 | 38 | 123 |
HTML | 2 | 16 | 0 | 92 |
Python | 1 | 22 | 23 | 50 |
Ant | 1 | 10 | 1 | 34 |
YAML | 1 | 3 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 98 | |
Interfaces | 53 | |
Traits | 0 | |
Classes | 388 | |
▷ Abstract classes | 19 | 4.90% |
▷ Concrete classes | 369 | 95.10% |
▷ Final classes | 1 | 0.27% |
Methods | 3,036 | |
▷ Static methods | 104 | 3.43% |
▷ Public methods | 2,794 | 92.03% |
▷ Protected methods | 205 | 6.75% |
▷ Private methods | 37 | 1.22% |
Functions | 133 | |
▷ Named functions | 2 | 1.50% |
▷ Anonymous functions | 131 | 98.50% |
Constants | 84 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 84 | 100.00% |
▷ Public constants | 84 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.24MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/guzzlehttp/guzzle/docs/_static/logo.png | 242.92KB | 69.68KB | ▼ 71.32% |
vendor/guzzlehttp/guzzle/docs/_static/guzzle-icon.png | 0.78KB | 0.94KB | 0.00% |