Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.18ms] Passed 4 tests
This is a short check of server-side resources used by Notifyit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 43.76 ▼1.65 |
Dashboard /wp-admin | 3.34 ▼0.00 | 52.84 ▼11.56 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.82 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.76 ▲0.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.49 ▼0.06 |
Notifyit /wp-admin/options-general.php?page=notify | 3.23 | 35.10 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Notifyit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.73 ▼0.57 | 3.77 ▲2.04 | 43.11 ▼2.37 |
Dashboard /wp-admin | 2,213 ▲25 | 4.82 ▼1.03 | 115.91 ▲10.57 | 40.27 ▼1.56 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 1.97 ▼0.03 | 34.72 ▼4.72 | 32.46 ▼4.51 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 17.59 ▼5.49 | 690.45 ▼3.47 | 53.84 ▼6.28 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.25 ▲0.05 | 127.01 ▲18.34 | 51.83 ▲3.84 |
Notifyit /wp-admin/options-general.php?page=notify | 895 | 2.02 | 26.69 | 31.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=notify
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=notify 150 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Notifyit settings) image required
notifyit/notifyit.php 92% from 13 tests
The main PHP script in "Notifyit" version 1.0.1 is automatically included on every request by WordPress
Please take the time 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,389 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 167 | 23 | 1,071 |
PHP | 4 | 40 | 28 | 162 |
JavaScript | 4 | 31 | 79 | 156 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 17 | 100.00% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 33.47KB | 11.92KB | ▼ 64.40% |