Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.74ms] Passed 4 tests
This is a short check of server-side resources used by Webmaster Spelling Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.68 ▲1.17 |
Dashboard /wp-admin | 3.43 ▲0.08 | 53.15 ▼11.29 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 53.47 ▲3.06 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.26 ▼3.74 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.40 ▲2.91 |
Spelling Notifications /wp-admin/options-general.php?page=spelling_notifications | 3.32 | 36.30 |
Server storage [IO: ▲2.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Webmaster Spelling Notifications: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 13.25 ▼1.17 | 1.74 ▼0.31 | 36.70 ▼10.71 |
Dashboard /wp-admin | 2,212 ▲27 | 5.83 ▼0.06 | 113.28 ▼7.45 | 44.96 ▼0.20 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▲0.00 | 39.97 ▲1.71 | 34.25 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,532 ▲13 | 18.17 ▼4.94 | 624.99 ▼58.34 | 49.44 ▼2.57 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.17 ▲0.03 | 99.31 ▼4.20 | 41.59 ▼1.53 |
Spelling Notifications /wp-admin/options-general.php?page=spelling_notifications | 1,128 | 2.07 | 24.42 | 35.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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 everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 38 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Visitor can press Ctrl+Enter on your website when spelling or grammatical errors seem to need clarification or correction), #2 (Message sent successfully to webmaster), #3 (Webmaster will receive an email about spelling error), #4 (Plugin Settings Page)
gourl-spelling-notifications/gourl_spelling.php 85% from 13 tests
The primary PHP file in "Webmaster Spelling Notifications" version 1.1.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 388 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gourl-spelling-notifications.php" instead of "gourl_spelling.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
No dangerous file extensions were detected1,088 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 121 | 60 | 333 |
SVG | 1 | 0 | 0 | 288 |
PO File | 2 | 98 | 121 | 282 |
CSS | 4 | 10 | 24 | 70 |
JavaScript | 3 | 8 | 13 | 62 |
Markdown | 2 | 17 | 0 | 29 |
HTML | 3 | 6 | 0 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 1.20MB with 0.81MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 254.56KB | 90.23KB | ▼ 64.55% |
images/gourlspelling3.png | 2.89KB | 0.10KB | ▼ 96.45% |
screenshot-4.png | 76.64KB | 36.66KB | ▼ 52.17% |
screenshot-2.png | 250.41KB | 92.85KB | ▼ 62.92% |
images/gourlspelling2.png | 1.49KB | 0.55KB | ▼ 62.92% |