83% wplauncher

Code Review | WPLauncher - Simple Development Requests

WordPress plugin WPLauncher - Simple Development Requests scored 83% from 54 tests.

About plugin

  • Plugin page: wplauncher
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2.1
  • WordPress version: 5.8.1
  • First release: Feb 2, 2018
  • Latest release: Jun 11, 2019
  • Number of updates: 4
  • Update frequency: every 123.5 days
  • Top authors: benshadle (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 382 total downloads

Benchmarks

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.26MB] [CPU: ▼140.69ms] Passed 4 tests

An overview of server-side resources used by WPLauncher - Simple Development Requests
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.09 ▲0.2634.30 ▼1.41
Dashboard /wp-admin3.32 ▲0.2744.60 ▲2.79
Posts /wp-admin/edit.php3.43 ▲0.3340.26 ▼1.32
Add New Post /wp-admin/post-new.php5.68 ▲0.2587.90 ▼562.80
Media Library /wp-admin/upload.php3.27 ▲0.2635.06 ▲3.53
Requests /wp-admin/edit.php?post_type=wplauncher_requests3.3136.45
Settings /wp-admin/admin.php?page=wplauncher-settings3.2328.41
WPLauncher /wp-admin/admin.php?page=wplauncher3.2329.84

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for WPLauncher - Simple Development Requests
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,869 ▲27316.33 ▲0.8315.60 ▲5.0246.21 ▼1.67
Dashboard /wp-admin3,014 ▲776.15 ▲0.24145.10 ▼6.84129.39 ▲28.59
Posts /wp-admin/edit.php2,808 ▲692.70 ▼0.0276.93 ▲12.6683.41 ▼1.03
Add New Post /wp-admin/post-new.php2,120 ▼1,56722.90 ▲5.12375.48 ▼115.92115.72 ▲2.80
Media Library /wp-admin/upload.php1,805 ▼25.04 ▲0.00139.76 ▼18.93141.93 ▲26.47
Requests /wp-admin/edit.php?post_type=wplauncher_requests1,5462.6273.4475.64
Settings /wp-admin/admin.php?page=wplauncher-settings1,6962.3052.6481.22
WPLauncher /wp-admin/admin.php?page=wplauncher1,0892.0951.4470.25

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/admin.php?page=wplauncher-settings
    • > Warning in wp-admin/includes/template.php+1694
    call_user_func() expects parameter 1 to be a valid callback, class 'Wplauncher_Admin' does not have a method 'wplauncher_display_general_account'
    • > GET request to /wp-admin/admin.php?page=wplauncher-settings
    • > Notice in wp-content/plugins/wplauncher/admin/class-wplauncher-admin.php+1313
    Undefined variable: select_options

SRP 0% 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/wplauncher/public/partials/wplauncher-public-display.php
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wplauncher/admin/partials/wplauncher-admin-display.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/wplauncher/admin/partials/wplauncher-admin-settings-display.php:20

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Donate link: Invalid URI ("")
The official readme.txt is a good inspiration

wplauncher/wplauncher.php Passed 13 tests

"WPLauncher - Simple Development Requests" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
56 characters long description:
Simple way to request development work for your website.

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
There were no executable files found in this plugin1,017 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP131551,310816
CSS2833194
JavaScript24546
SVG1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity8.57
▷ Minimum class complexity1.00
▷ Maximum class complexity51.00
Average method complexity2.36
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods39
▷ Static methods25.13%
▷ Public methods3487.18%
▷ Protected methods00.00%
▷ Private methods512.82%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin