Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.46ms] Passed 4 tests
Server-side resources used by Lemme Know
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 37.78 ▼1.16 |
Dashboard /wp-admin | 3.50 ▲0.15 | 51.11 ▼8.83 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.30 ▲1.98 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 98.16 ▲2.96 |
Media Library /wp-admin/upload.php | 3.43 ▲0.19 | 37.05 ▲2.19 |
Lemme Know /wp-admin/options-general.php?page=wp-lemme-know | 3.41 | 32.35 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 22 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_lemme_know_subscribers |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
wp_lemme_know_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_lemmeknowwidget |
Browser metrics Passed 4 tests
Checking browser requirements for Lemme Know
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.23 ▼0.42 | 2.03 ▲0.36 | 44.91 ▼0.73 |
Dashboard /wp-admin | 2,238 ▲61 | 5.64 ▼0.03 | 93.76 ▲3.33 | 41.56 ▼0.63 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.98 ▼0.03 | 37.48 ▲1.12 | 34.03 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 18.14 ▼5.01 | 595.61 ▼77.42 | 72.58 ▲9.14 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.06 | 93.71 ▼15.73 | 40.95 ▼5.68 |
Lemme Know /wp-admin/options-general.php?page=wp-lemme-know | 825 | 2.00 | 23.97 | 25.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/wp-lemme-know/src/setup.php+79
preg_match(): Delimiter must not be alphanumeric or backslash
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_lemmeknowwidget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: fieldSettings in wp-content/plugins/wp-lemme-know/templates/widget.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/wp-lemme-know/templates/widget.php:24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-lemme-know/templates/widget.php on line 11
- > PHP Notice
Undefined variable: fieldSettings in wp-content/plugins/wp-lemme-know/templates/widget.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-lemme-know/templates/dashboard.php:1
- > PHP Notice
Undefined variable: fieldSettings in wp-content/plugins/wp-lemme-know/templates/widget.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-lemme-know/templates/email_body.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-lemme-know/templates/widget.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-lemme-know/templates/widget.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-lemme-know/templates/widget.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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: newsletter, smtp, mailing, email, subscribe2...
wp-lemme-know/plugin.php 92% from 13 tests
The main PHP file in "Lemme Know" ver. 0.10.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-lemme-know.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,590 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 222 | 170 | 1,193 |
JavaScript | 2 | 69 | 84 | 242 |
CSS | 3 | 23 | 1 | 154 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 49 | |
▷ Named functions | 44 | 89.80% |
▷ Anonymous functions | 5 | 10.20% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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