84% uptime-seo-and-security-monitors-uptimezone

Code Review | Uptime, SEO and Security monitors - UptimeZone

WordPress plugin Uptime, SEO and Security monitors - UptimeZone scored84%from 54 tests.

About plugin

  • Plugin page: uptime-seo-and-se...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.5.1
  • WordPress version: 6.3.1
  • First release: Sep 25, 2020
  • Latest release: Oct 2, 2020
  • Number of updates: 3
  • Update frequency: every 2.7 days
  • Top authors: chatra (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /364 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Uptime, SEO and Security monitors - UptimeZone
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0138.47 ▼2.33
Dashboard /wp-admin3.31 ▲0.0149.84 ▲0.73
Posts /wp-admin/edit.php3.36 ▲0.0144.69 ▼3.67
Add New Post /wp-admin/post-new.php5.89 ▲0.0181.92 ▼14.62
Media Library /wp-admin/upload.php3.23 ▲0.0136.85 ▲0.26
UptimeZone Monitors /wp-admin/options-general.php?page=options-uptimezone3.2031.77

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
uptimezone_is_installation_completed
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Uptime, SEO and Security monitors - UptimeZone
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲9813.70 ▼0.685.30 ▲3.4746.74 ▼0.38
Dashboard /wp-admin2,210 ▲195.83 ▲0.8996.11 ▼10.0639.30 ▼1.42
Posts /wp-admin/edit.php2,096 ▲42.06 ▲0.0534.36 ▼5.4333.61 ▼3.23
Add New Post /wp-admin/post-new.php1,540 ▲623.07 ▼0.36659.89 ▲17.3250.79 ▼0.48
Media Library /wp-admin/upload.php1,395 ▲44.21 ▲0.0794.71 ▼11.4642.07 ▼2.87
UptimeZone Monitors /wp-admin/options-general.php?page=options-uptimezone7752.0523.9022.61

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • uptimezone_is_installation_completed
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

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
Even though everything seems fine, this is not an exhaustive test

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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/uptime-seo-and-security-monitors-uptimezone/uptime-seo-and-security-monitors-uptimezone.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Screenshots: Please add images for these screenshots: #1 (Monitor your website or IP host from multiple locations. HTTP(S), ping, port, and keywords checks available), #2 (SEO & Blacklist monitors. Monitor your website for multiple SEO mistakes on autopilot. Hundreds of regular checks to keep your website SEO-healthy. Monitor your website or IP for showing up on major blacklists. Get alerts when you get blacklisted so you can take immediate action), #3 (Vulnerability monitors. We regularly scan your website for different vulnerabilities and identify issues before they become a problem.), #4 (Get alerted about any failures in real-time.)
The official readme.txt is a good inspiration

uptime-seo-and-security-monitors-uptimezone/uptime-seo-and-security-monitors-uptimezone.php 92% from 13 tests

This is the main PHP file of "Uptime, SEO and Security monitors - UptimeZone" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 238 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin58 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1121958

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
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%
Functions4
▷ Named functions4100.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
4 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-4.png17.51KB9.04KB▼ 48.37%
screenshot-3.png22.50KB11.25KB▼ 50.00%
screenshot-1.png42.25KB20.39KB▼ 51.74%
screenshot-2.png23.25KB11.59KB▼ 50.17%