99% domisiding-minecraft-serverbanner-namemc

Code Review | Serverbanner - NameMc

WordPress plugin Serverbanner - NameMc scored 99% from 54 tests.

About plugin

  • Plugin page: domisiding-minecr...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.0-5.4
  • WordPress version: 5.8.1
  • First release: Jul 6, 2020
  • Latest release: Jul 7, 2020
  • Number of updates: 3
  • Update frequency: every 3.3 days
  • Top authors: domisiding (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 907 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Serverbanner - NameMc
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1242.19 ▲18.66
Dashboard /wp-admin3.07 ▲0.0144.51 ▲0.62
Posts /wp-admin/edit.php3.12 ▲0.0147.88 ▲5.28
Add New Post /wp-admin/post-new.php5.42 ▼0.0187.97 ▼690.46
Media Library /wp-admin/upload.php3.01 ▲0.0131.48 ▼4.20

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Serverbanner - NameMc
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8316.06 ▼0.049.07 ▼0.5846.67 ▼0.27
Dashboard /wp-admin2,973 ▲395.93 ▼0.05134.46 ▼10.30114.98 ▼10.02
Posts /wp-admin/edit.php2,739 ▼02.72 ▼0.0063.45 ▲3.0490.67 ▼0.16
Add New Post /wp-admin/post-new.php1,683 ▲18318.66 ▲0.10379.64 ▲7.85113.36 ▲1.95
Media Library /wp-admin/upload.php1,810 ▲35.03 ▼0.00142.28 ▼0.06119.89 ▼1.00

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

User-side errors Passed 1 test

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


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: minecraft, status, mc, namemc, serverbanner

domisiding-minecraft-serverbanner-namemc/mcbanner-main.php 85% from 13 tests

The entry point to "Serverbanner - NameMc" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("domisiding-minecraft-serverbanner-namemc.php" instead of "mcbanner-main.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected32 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.13
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected