90% incogneato-anonymous-suggestion-box

Code Review | Incogneato Anonymous Box

WordPress plugin Incogneato Anonymous Box scored90%from 54 tests.

About plugin

  • Plugin page: incogneato-anonym...
  • Plugin version: 1.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.0
  • WordPress version: 6.3.1
  • First release: Oct 21, 2017
  • Latest release: Oct 24, 2018
  • Number of updates: 23
  • Update frequency: every 16.0 days
  • Top authors: incogneatobox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /5,444 total downloads

Benchmarks

Plugin footprint 83% from 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.01MB] [CPU: ▼4.30ms] Passed 4 tests

Analyzing server-side resources used by Incogneato Anonymous Box
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.86 ▼3.60
Dashboard /wp-admin3.32 ▲0.0246.34 ▼1.55
Posts /wp-admin/edit.php3.37 ▲0.0249.98 ▲1.34
Add New Post /wp-admin/post-new.php5.90 ▲0.0285.84 ▼13.40
Media Library /wp-admin/upload.php3.24 ▲0.0236.04 ▲1.36

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Incogneato Anonymous Box
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲7513.24 ▼1.341.87 ▲0.0944.16 ▲0.70
Dashboard /wp-admin2,227 ▲424.92 ▼0.95119.62 ▲15.3075.51 ▲29.37
Posts /wp-admin/edit.php2,113 ▲242.01 ▲0.0234.99 ▼8.0733.59 ▼7.05
Add New Post /wp-admin/post-new.php1,685 ▲16622.43 ▼0.65700.51 ▲40.8266.12 ▲0.30
Media Library /wp-admin/upload.php1,411 ▲234.20 ▲0.0895.59 ▼18.9366.70 ▲18.21

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: suggestion box, collect feedback, anonymous feedback

incogneato-anonymous-suggestion-box/incogneato-anonymous-suggestion-box.php Passed 13 tests

Analyzing the main PHP file in "Incogneato Anonymous Box" version 1.0
91 characters long description:
Easily add your Incogneato anonymous suggestion box to your WordPress site in just seconds.

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 plugin87 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23987

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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