84% alert-me

Code Review | Alert Me!

WordPress plugin Alert Me! scored84%from 54 tests.

About plugin

  • Plugin page: alert-me
  • Plugin version: 0.4.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.6
  • WordPress version: 6.3.1
  • First release: Apr 15, 2013
  • Latest release: Aug 4, 2016
  • Number of updates: 16
  • Update frequency: every 75.4 days
  • Top authors: butterflymedia (93.75%)crispunk (12.5%)

Code review

54 tests

User reviews

3 reviews

Install metrics

30+ active /3,616 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.30ms] Passed 4 tests

Analyzing server-side resources used by Alert Me!
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.57 ▼9.82
Dashboard /wp-admin3.31 ▼0.0449.74 ▼14.42
Posts /wp-admin/edit.php3.36 ▲0.0050.72 ▲0.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0088.53 ▼13.11
Media Library /wp-admin/upload.php3.24 ▲0.0038.06 ▲2.23

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Alert Me!
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.25 ▼0.311.80 ▲0.0541.25 ▼6.78
Dashboard /wp-admin2,192 ▲125.55 ▼0.1185.32 ▼11.4837.75 ▼6.60
Posts /wp-admin/edit.php2,100 ▼32.06 ▲0.1140.68 ▲3.1435.75 ▼2.46
Add New Post /wp-admin/post-new.php1,528 ▼723.11 ▲4.89673.45 ▲2.6763.42 ▼3.65
Media Library /wp-admin/upload.php1,394 ▼64.16 ▼0.0492.93 ▼4.4143.84 ▼0.64

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/alert-me/alert-me.php:33

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

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
7 plugin tags: warning, alert, error, bar, success...

alert-me/alert-me.php 92% from 13 tests

The main PHP script in "Alert Me!" version 0.4.0 is automatically included on every request by WordPress
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin46 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
CSS15031
PHP1142515

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected