Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Parse error in wp-content/plugins/phpls/admin/init.php+176
syntax error, unexpected end of file
Server metrics [RAM: ▼0.00MB] [CPU: ▼148.14ms] Passed 4 tests
A check of server-side resources used by PhpList Subber
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 34.50 ▲1.51 |
Dashboard /wp-admin | 3.06 ▲0.00 | 37.65 ▼7.08 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 33.73 ▼9.53 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 84.56 ▼577.16 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.28 ▲1.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
PhpList Subber: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.21 ▲0.65 | 8.40 ▼1.58 | 42.58 ▼6.88 |
Dashboard /wp-admin | 2,967 ▲36 | 5.91 ▼0.05 | 137.41 ▼9.18 | 113.11 ▲0.79 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.01 | 67.61 ▲0.72 | 85.83 ▼8.45 |
Add New Post /wp-admin/post-new.php | 1,672 ▼0 | 18.81 ▲0.04 | 367.61 ▲5.94 | 113.30 ▲4.25 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.09 | 157.17 ▲6.01 | 114.08 ▼6.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/phpls/admin/inc/sanitize_post.php
- > /wp-content/plugins/phpls/admin/inc/import.php
- > /wp-content/plugins/phpls/admin/inc/notices.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/phpls/admin/pages/settings.php on line 105
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/phpls/admin/inc/meta.php on line 68
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/phpls/admin/init.php on line 176
- > PHP Parse 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: subscription, phplist, newsletter
phpls/phpls.php 92% from 13 tests
The entry point to "PhpList Subber" version 1.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 folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,071 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 87 | 111 | 981 |
JavaScript | 1 | 1 | 5 | 90 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.88% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin