Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.23ms] Passed 4 tests
A check of server-side resources used by Notification : Signature
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.84 ▼5.94 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.74 ▼8.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.07 ▼0.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.14 ▼0.81 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.28 ▼1.48 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Notification : Signature
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲36 | 13.21 ▲0.09 | 4.97 ▲3.30 | 45.20 ▲1.75 |
Dashboard /wp-admin | 2,203 ▼6 | 5.78 ▼0.07 | 97.26 ▼11.36 | 39.68 ▼3.31 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 35.64 ▲1.52 | 33.64 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.59 ▲0.35 | 633.14 ▼66.19 | 59.73 ▼7.15 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▼0.02 | 97.80 ▼5.97 | 42.67 ▼4.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/signature-notification/notification-signature.php:11
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/signature-notification/vendor/micropackage/requirements/src/Checker/WP.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/signature-notification/vendor/micropackage/requirements/src/Checker/PHP.php:16
- > PHP Fatal error
Trait 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\DocHooks\\HookTrait' not found in wp-content/plugins/signature-notification/vendor/micropackage/dochooks/src/HookAnnotations.php on line 20
- > PHP Fatal error
Uncaught Error: Interface 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Interfaces\\Checkable' not found in wp-content/plugins/signature-notification/vendor/micropackage/requirements/src/Abstracts/Checker.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/signature-notification/compat/register-hooks.php:13
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/signature-notification/vendor/micropackage/requirements/src/Checker/PHPExtensions.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/signature-notification/src/Requirements/BasePlugin.php:15
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/signature-notification/vendor/micropackage/requirements/src/Checker/SSL.php:16
- > PHP Fatal error
Uncaught Error: Class 'BracketSpace\otification\\Signature\\Vendor\\Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/signature-notification/vendor/micropackage/requirements/src/Checker/Plugins.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: notification, signature, email, notify, mail
signature-notification/signature-notification.php 85% from 13 tests
The principal PHP file in "Notification : Signature" v. 3.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,000 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 473 | 1,237 | 1,499 |
JSON | 1 | 0 | 0 | 382 |
Markdown | 4 | 33 | 0 | 53 |
PO File | 1 | 9 | 11 | 46 |
XML | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 25 | 24.51% |
▷ Public methods | 96 | 94.12% |
▷ Protected methods | 3 | 2.94% |
▷ Private methods | 3 | 2.94% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 images were found in this plugin