94% aacomingsoon

Code Review | AA Coming Soon

WordPress plugin AA Coming Soon scored 94% from 54 tests.

About plugin

  • Plugin page: aacomingsoon
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.0
  • WordPress version: 5.9.2
  • First release: Oct 13, 2014
  • Latest release: Dec 24, 2014
  • Number of updates: 16
  • Update frequency: every 4.5 days
  • Top authors: aaextention (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,361 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

Analyzing server-side resources used by AA Coming Soon
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0254.21 ▲2.38
Dashboard /wp-admin3.42 ▲0.0232.82 ▼2.65
Posts /wp-admin/edit.php3.66 ▲0.0238.34 ▲1.24
Add New Post /wp-admin/post-new.php6.90 ▼0.0799.82 ▼1,173.83
Media Library /wp-admin/upload.php3.31 ▲0.0126.13 ▼4.88

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

AA Coming Soon: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,783 ▲3015.84 ▲0.115.84 ▼0.302.40 ▲0.05
Dashboard /wp-admin2,912 ▲586.12 ▼0.02117.34 ▼25.99159.16 ▼4.84
Posts /wp-admin/edit.php2,708 ▲173.23 ▼0.0064.27 ▲0.77141.39 ▼1.35
Add New Post /wp-admin/post-new.php1,711 ▼022.30 ▲1.68407.70 ▼26.10156.92 ▲0.83
Media Library /wp-admin/upload.php1,718 ▲205.52 ▼0.00149.17 ▲8.91190.81 ▲3.59

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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/aacomingsoon/aacomingsoon.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: maintenance, aaextension, coming soon, welcome

aacomingsoon/aacomingsoon.php Passed 13 tests

"AA Coming Soon" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
61 characters long description:
It's a simple coming soon extension from AA Extension House .

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin49 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1192149

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.16
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
There are no PNG files in this plugin