10% wp-burner-user

Code Review | WP Burner User

WordPress plugin WP Burner User scored 10% from 54 tests.

About plugin

  • Plugin page: wp-burner-user
  • Plugin version: 0.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-4.2.2
  • WordPress version: 6.3.1
  • First release: Jul 10, 2015
  • Latest release: Jul 11, 2015
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: tony.h (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 704 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/wp-burner-user/admin/class-bu-admin.php+16
    Function create_function() is deprecated

Server metrics [RAM: ▼1.96MB] [CPU: ▼53.07ms] Passed 4 tests

A check of server-side resources used by WP Burner User
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.433.76 ▼40.47
Dashboard /wp-admin2.05 ▼1.266.13 ▼41.99
Posts /wp-admin/edit.php2.05 ▼1.315.48 ▼40.20
Add New Post /wp-admin/post-new.php2.05 ▼3.845.45 ▼89.62
Media Library /wp-admin/upload.php2.05 ▼1.184.74 ▼30.05
WP Burner User /wp-admin/options-general.php?page=2.055.10

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

WP Burner User: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.25 ▼1.331.58 ▼0.2440.82 ▼6.02
Dashboard /wp-admin2,213 ▲224.85 ▼0.05111.62 ▲8.5539.33 ▼7.00
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0240.07 ▲3.6534.10 ▲1.80
Add New Post /wp-admin/post-new.php1,545 ▲2618.42 ▼4.99588.93 ▼86.6753.24 ▼3.42
Media Library /wp-admin/upload.php1,395 ▲104.24 ▲0.0798.24 ▼3.1542.88 ▼4.87
WP Burner User /wp-admin/options-general.php?page=9322.0522.7327.76

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/wp-burner-user/admin/class-bu-admin.php+16
    Function create_function() is deprecated
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=
    • > Deprecated in wp-content/plugins/wp-burner-user/admin/class-bu-admin.php+16
    Function create_function() is deprecated

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
Almost there! Just fix the following items
  • 6× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-burner-user/wp-burner-user.php
    • > /wp-content/plugins/wp-burner-user/admin/class-bu-admin.php
    • > /wp-content/plugins/wp-burner-user/lib/bu-functions.php
    • > /wp-content/plugins/wp-burner-user/admin/bu-admin-create-user.php
    • > /wp-content/plugins/wp-burner-user/lib/class-bu-message.php
    • > /wp-content/plugins/wp-burner-user/admin/bu-admin-help.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: account, burner, user

wp-burner-user/wp-burner-user.php Passed 13 tests

The main PHP file in "WP Burner User" ver. 0.1.0 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
WP Burner User allows a WP admin to create an anonymous account with randomly generated data

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 detected284 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP7102282249
CSS18235

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity5.00
▷ Minimum class complexity2.00
▷ Maximum class complexity9.00
Average method complexity1.86
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods14
▷ Static methods642.86%
▷ Public methods1392.86%
▷ Protected methods00.00%
▷ Private methods17.14%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin