Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.33ms] Passed 4 tests
An overview of server-side resources used by Cyklodev WP Notify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.70 ▼2.82 |
Dashboard /wp-admin | 3.33 ▼0.02 | 55.79 ▼8.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.25 ▲3.41 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.08 ▼11.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.01 ▲1.54 |
Twitter /wp-admin/admin.php?page=cyklodev_notify_twitter | 3.22 | 30.20 |
Cyklodev Notify /wp-admin/admin.php?page=cyklodev_notify | 3.28 | 28.49 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Cyklodev WP Notify: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.72 ▲0.48 | 1.76 ▲0.22 | 44.06 ▲3.61 |
Dashboard /wp-admin | 2,216 ▲45 | 5.50 ▼0.07 | 80.54 ▼5.33 | 38.99 ▼2.56 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.10 ▲0.11 | 36.90 ▼12.00 | 29.58 ▼10.04 |
Add New Post /wp-admin/post-new.php | 6,248 ▲4,719 | 26.13 ▲3.09 | 939.85 ▲357.29 | 55.00 ▼1.38 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.20 ▼0.03 | 95.99 ▲0.74 | 44.61 ▼0.80 |
Twitter /wp-admin/admin.php?page=cyklodev_notify_twitter | 910 | 2.18 | 22.41 | 26.40 |
Cyklodev Notify /wp-admin/admin.php?page=cyklodev_notify | 799 | 2.29 | 28.89 | 34.15 |
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 detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% 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 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cyklodev-wp-notify/views/twitter.php
- > /wp-content/plugins/cyklodev-wp-notify/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/cyklodev-wp-notify/views/notify.php:1
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: post, metabox, notify, email, twitter
cyklodev-wp-notify/index.php 92% from 13 tests
The entry point to "Cyklodev WP Notify" version 1.3.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cyklodev-wp-notify.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin462 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 98 | 41 | 376 |
PO File | 2 | 23 | 0 | 86 |
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.34 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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 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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cyklodev.png | 12.79KB | 6.17KB | ▼ 51.73% |