94% disable-flamingo-addressbook

Code Review | Disable Flamingo Addressbook

WordPress plugin Disable Flamingo Addressbook scored 94% from 54 tests.

About plugin

  • Plugin page: disable-flamingo-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.6
  • WordPress version: 5.8.1
  • First release: Oct 8, 2019
  • Latest release: Dec 9, 2020
  • Number of updates: 14
  • Update frequency: every 30.7 days
  • Top authors: pixelverbieger (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active / 3,113 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼143.98ms] Passed 4 tests

Analyzing server-side resources used by Disable Flamingo Addressbook
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1234.54 ▲14.47
Dashboard /wp-admin3.06 ▲0.0146.08 ▲1.29
Posts /wp-admin/edit.php3.11 ▲0.0143.80 ▼3.75
Add New Post /wp-admin/post-new.php5.42 ▼0.0189.80 ▼571.66
Media Library /wp-admin/upload.php3.00 ▲0.0031.66 ▼1.80

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

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

Browser metrics Passed 4 tests

Disable Flamingo Addressbook: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.86 ▲0.248.66 ▼0.6046.79 ▼7.91
Dashboard /wp-admin2,973 ▲425.90 ▼0.19128.93 ▼15.35114.00 ▼3.50
Posts /wp-admin/edit.php2,736 ▼32.72 ▲0.0161.88 ▼6.8490.08 ▲1.18
Add New Post /wp-admin/post-new.php1,876 ▲37819.19 ▲0.30375.16 ▲3.20109.07 ▼5.41
Media Library /wp-admin/upload.php1,807 ▼05.04 ▲0.01142.59 ▲1.45118.59 ▼7.96

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
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 shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 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
Please fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/disable-flamingo-addressbook/disable-flamingo-addressbook.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: contact form, address book, flamingo, cf7

disable-flamingo-addressbook/disable-flamingo-addressbook.php 92% from 13 tests

The principal PHP file in "Disable Flamingo Addressbook" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to 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

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin18 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP294718

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.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
No PNG files were detected