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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.58ms] Passed 4 tests
A check of server-side resources used by Mail Nachricht
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.08 ▼3.39 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.02 ▼5.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.51 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.62 ▼13.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.94 ▼0.24 |
Mail Nachricht /wp-admin/options-general.php?page=mail_nachricht_options | 3.18 | 33.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mail Nachricht
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.32 ▼1.24 | 1.83 ▲0.09 | 43.06 ▼5.79 |
Dashboard /wp-admin | 2,210 ▲25 | 4.81 ▼0.10 | 102.41 ▼13.00 | 40.96 ▼1.20 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 39.83 ▼1.32 | 34.73 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.26 ▲5.71 | 640.86 ▼33.31 | 61.63 ▲5.69 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.17 ▼0.03 | 94.84 ▼4.66 | 40.55 ▼2.52 |
Mail Nachricht /wp-admin/options-general.php?page=mail_nachricht_options | 909 | 2.05 | 22.12 | 33.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mail_nachricht_options
- > Notice in wp-content/plugins/mail-nachricht/mail-nachricht.php+194
Undefined variable: email
- > GET request to /wp-admin/options-general.php?page=mail_nachricht_options
- > Notice in wp-content/plugins/mail-nachricht/mail-nachricht.php+127
Undefined index: REQUEST_URL
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mail-nachricht/mail-nachricht.php:259
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: benachrichtigung, e-mail
mail-nachricht/mail-nachricht.php Passed 13 tests
The primary PHP file in "Mail Nachricht" version 2.5 is used by WordPress to initiate all plugin functionality
99 characters long description:
Mit diesem Mail-Plugin bekommt man eine E-Mail Nachricht, wenn jemand eine bestimmte Seite besucht.
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
Good job! No executable or dangerous file extensions detected186 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 66 | 164 |
PO File | 1 | 6 | 8 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin