78% eangel

Code Review | eAngel.me Proofread your content. Grammar, Spelling, Punctuation And Proper Use Of Words.

WordPress plugin eAngel.me Proofread your content. Grammar, Spelling, Punctuation And Proper Use Of Words. scored78%from 54 tests.

About plugin

  • Plugin page: eangel
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.0
  • WordPress version: 6.3.1
  • First release: Jan 11, 2015
  • Latest release: May 8, 2016
  • Number of updates: 17
  • Update frequency: every 28.4 days
  • Top authors: eangel.me (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,062 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▲2.04ms] Passed 4 tests

A check of server-side resources used by eAngel.me Proofread your content. Grammar, Spelling, Punctuation And Proper Use Of Words.
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0246.13 ▲10.67
Dashboard /wp-admin3.33 ▲0.0345.85 ▼1.84
Posts /wp-admin/edit.php3.38 ▲0.0348.89 ▲2.57
Add New Post /wp-admin/post-new.php5.91 ▲0.0394.78 ▲7.51
Media Library /wp-admin/upload.php3.26 ▲0.0335.15 ▼0.08
eAngel (Proofreading) /wp-admin/options-general.php?page=eangel-settings-config3.2030.79

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
eangel_settings
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

eAngel.me Proofread your content. Grammar, Spelling, Punctuation And Proper Use Of Words.: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.14 ▼1.051.63 ▼0.1537.70 ▼4.36
Dashboard /wp-admin2,213 ▲584.86 ▼0.8499.38 ▼3.7040.08 ▲0.71
Posts /wp-admin/edit.php2,093 ▲42.11 ▲0.0739.58 ▲4.0934.23 ▼1.78
Add New Post /wp-admin/post-new.php6,249 ▲4,71626.17 ▲3.04937.23 ▲277.8356.46 ▲5.01
Media Library /wp-admin/upload.php1,386 ▼24.20 ▼0.0099.82 ▼7.9243.82 ▼0.00
eAngel (Proofreading) /wp-admin/options-general.php?page=eangel-settings-config8152.0224.7031.00

Uninstaller [IO: ▲0.00MB] [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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=eangel-settings-config
    • > Notice in wp-content/plugins/eangel/lib/views.php+29
    Undefined index: password

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
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Warning
      Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/eangel/eangel.php on line 11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/eangel/eangel.php:11

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 17 tag instead of maximum 10
The official readme.txt might help

eangel/eangel.php Passed 13 tests

"eAngel.me Proofread your content. Grammar, Spelling, Punctuation And Proper Use Of Words." version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
66 characters long description:
24/7 Professional proofreading service for your wordpress content.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin129 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP56451129

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.02
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.41MB with 0.21MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png404.36KB209.75KB▼ 48.13%
screenshot-1.png13.36KB6.02KB▼ 54.97%