Benchmarks
Plugin footprint 82% 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 gracefully, with no errors
Server metrics [RAM: ▼0.13MB] [CPU: ▼5.60ms] Passed 4 tests
Analyzing server-side resources used by Worldclassthemes Notify me Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.03 | 39.60 ▼6.71 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.75 ▼8.02 |
Posts /wp-admin/edit.php | 3.36 ▼0.48 | 47.12 ▼5.68 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 104.35 ▼2.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 35.69 ▲3.15 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/notify-me-on-user-registration/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/notify-me-on-user-registration/icon-128\303\227128.png"
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Worldclassthemes Notify me Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.21 ▼0.97 | 1.79 ▲0.05 | 45.04 ▼3.55 |
Dashboard /wp-admin | 2,215 ▲27 | 5.84 ▲0.93 | 123.56 ▲9.67 | 111.32 ▲70.98 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.00 ▼0.01 | 39.38 ▼0.02 | 49.10 ▲13.92 |
Add New Post /wp-admin/post-new.php | 1,681 ▲161 | 22.27 ▼0.98 | 731.26 ▲118.51 | 56.03 ▲6.06 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.17 ▼0.02 | 97.98 ▼2.77 | 79.70 ▲33.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/notify-me-on-user-registration/index.php:17
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #2 (icon-128x128.png)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== notify-me-on-user-registration ===
)
notify-me-on-user-registration/index.php 92% from 13 tests
The primary PHP file in "Worldclassthemes Notify me Plugin" version 4.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("notify-me-on-user-registration.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin59 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 16 | 59 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 1.24MB with 1.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 518.76KB | 139.18KB | ▼ 73.17% |
(invalid) icon-128×128.png | 4.90KB | 0.00KB | ▼ 100.00% |
images/icon.png | 2.96KB | 0.42KB | ▼ 85.69% |
images/offer.png | 739.51KB | 269.05KB | ▼ 63.62% |