94% hidemein

Code Review | HideMeIn

WordPress plugin HideMeIn scored 94% from 54 tests.

About plugin

  • Plugin page: hidemein
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1.0-5.6
  • WordPress version: 5.8.1
  • First release: Mar 29, 2016
  • Latest release: Dec 16, 2020
  • Number of updates: 16
  • Update frequency: every 107.7 days
  • Top authors: DanieleAlessandra (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 1,324 total downloads

Benchmarks

Plugin footprint Passed 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.02MB] [CPU: ▼142.28ms] Passed 4 tests

An overview of server-side resources used by HideMeIn
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0235.19 ▲0.86
Dashboard /wp-admin3.09 ▲0.0349.68 ▲4.90
Posts /wp-admin/edit.php3.14 ▲0.0346.55 ▲2.81
Add New Post /wp-admin/post-new.php5.44 ▲0.0185.72 ▼568.87
Media Library /wp-admin/upload.php3.03 ▲0.0336.98 ▼3.93

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for HideMeIn
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8316.11 ▼0.007.74 ▼2.5250.87 ▼2.82
Dashboard /wp-admin2,973 ▲396.09 ▲0.15131.86 ▼4.69111.09 ▼5.16
Posts /wp-admin/edit.php2,736 ▼02.71 ▲0.0162.42 ▼2.7488.71 ▼0.70
Add New Post /wp-admin/post-new.php2,061 ▲56119.43 ▲0.57373.37 ▼5.78113.28 ▲3.70
Media Library /wp-admin/upload.php1,807 ▼05.00 ▼0.00143.52 ▼1.44121.78 ▲12.53

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/hidemein/hideMeIn.php:24

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 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
7 plugin tags: admin, hidden, clean, login, administration...

hidemein/hideMeIn.php 92% from 13 tests

The entry point to "HideMeIn" version 1.0.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("hidemein.php" instead of "hideMeIn.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected87 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1121887

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity18.00
▷ Minimum class complexity18.00
▷ Maximum class complexity18.00
Average method complexity2.56
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods220.00%
▷ Public methods990.00%
▷ Protected methods00.00%
▷ Private methods110.00%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants0
▷ 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
PNG images were not found in this plugin