90% webspellchecker

Code Review | WProofreader spell & grammar check plugin for WordPress

WordPress plugin WProofreader spell & grammar check plugin for WordPress scored 90% from 54 tests.

About plugin

  • Plugin page: webspellchecker
  • Plugin version: 2.6.8
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2.1
  • WordPress version: 6.3.1
  • First release: Dec 27, 2016
  • Latest release: May 17, 2023
  • Number of updates: 81
  • Update frequency: every 28.8 days
  • Top authors: webspellchecker (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

4,000+ active / 52,695 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼0.63ms] Passed 4 tests

Server-side resources used by WProofreader spell & grammar check plugin for WordPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.37 ▼2.15
Dashboard /wp-admin3.43 ▲0.1257.25 ▲1.35
Posts /wp-admin/edit.php3.48 ▲0.1252.09 ▼1.10
Add New Post /wp-admin/post-new.php5.94 ▲0.0591.77 ▼0.61
Media Library /wp-admin/upload.php3.27 ▲0.0452.84 ▲16.40
WProofreader /wp-admin/options-general.php?page=spell-checker-settings3.2642.53

Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
wsc_proofreader_version
can_compress_scripts
db_upgraded
wsc_proofreader
wsc_proofreader_info
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

WProofreader spell & grammar check plugin for WordPress: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,958 ▲14714.84 ▲0.101.75 ▼0.5345.90 ▲0.56
Dashboard /wp-admin2,364 ▲1586.61 ▲1.77136.45 ▲21.5243.11 ▼1.11
Posts /wp-admin/edit.php2,273 ▲1843.49 ▲1.5051.21 ▲17.4531.07 ▼3.55
Add New Post /wp-admin/post-new.php6,737 ▲5,19829.11 ▲5.93966.38 ▲318.2346.21 ▼9.93
Media Library /wp-admin/upload.php1,409 ▲184.37 ▲0.1994.54 ▼5.5547.98 ▲5.08
WProofreader /wp-admin/options-general.php?page=spell-checker-settings1,2104.6275.7728.40

Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: corrector, proofreading, grammar, spelling, spell check

webspellchecker/webspellchecker.php Passed 13 tests

The main file in "WProofreader spell & grammar check plugin for WordPress" v. 2.6.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
92 characters long description:
Check spelling and grammar on your site automatically with multilingual WProofreader plugin.

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
Good job! No executable or dangerous file extensions detected925 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP4204213775
JavaScript3211150

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity41.67
▷ Minimum class complexity8.00
▷ Maximum class complexity68.00
Average method complexity3.26
▷ Minimum method complexity1.00
▷ Maximum method complexity32.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods54
▷ Static methods23.70%
▷ Public methods54100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants5
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants5100.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
PNG images were not found in this plugin