Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.69ms] Passed 4 tests
An overview of server-side resources used by Misspelling Reporter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.32 ▼2.90 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.64 ▼1.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.18 ▼2.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.27 ▼22.60 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.49 ▼2.78 |
Server storage [IO: ▲0.02MB] [DB: ▲0.31MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Misspelling Reporter
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.31 ▼0.41 | 1.60 ▼0.07 | 39.73 ▼2.71 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.12 | 86.29 ▼9.25 | 40.27 ▼1.79 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.02 | 35.45 ▼6.42 | 33.72 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.72 ▲0.50 | 685.68 ▲7.49 | 56.02 ▼4.70 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.11 | 103.67 ▲5.68 | 45.97 ▲1.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/misspelling-reporter/misspelling-reporter.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: misspell, typo, crowd source spelling, report, misspelling reporter...
misspelling-reporter/misspelling-reporter.php Passed 13 tests
The principal PHP file in "Misspelling Reporter" v. 0.6.5 is loaded by WordPress automatically on each request
108 characters long description:
Allows users to highlight misspelled text and report to the site/article admins. Inspired by #BeachPress2013
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
Everything looks great! No dangerous files found in this plugin249 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 24 | 24 | 111 |
PHP | 1 | 30 | 45 | 73 |
JavaScript | 1 | 16 | 3 | 55 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ 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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin