84% fast-backend

Code Review | Fast Backend

WordPress plugin Fast Backend scored84%from 54 tests.

About plugin

  • Plugin page: fast-backend
  • Plugin version: 1.5.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Apr 11, 2021
  • Latest release: Jul 26, 2023
  • Number of updates: 48
  • Update frequency: every 17.6 days
  • Top authors: wdm-team (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,069 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼4.54ms] Passed 4 tests

This is a short check of server-side resources used by Fast Backend
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.28 ▲1.58
Dashboard /wp-admin3.39 ▲0.0848.58 ▼2.39
Posts /wp-admin/edit.php3.42 ▲0.0754.09 ▲4.78
Add New Post /wp-admin/post-new.php6.06 ▲0.1890.36 ▼15.05
Media Library /wp-admin/upload.php3.33 ▲0.1033.98 ▼2.30

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fast Backend
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.28 ▼0.071.68 ▲0.0244.19 ▲1.35
Dashboard /wp-admin2,195 ▲185.57 ▼0.01102.59 ▲8.3539.99 ▲0.46
Posts /wp-admin/edit.php2,100 ▼01.98 ▲0.0241.05 ▲4.8134.73 ▼1.93
Add New Post /wp-admin/post-new.php1,528 ▲223.19 ▲0.32666.95 ▼24.8554.16 ▲4.84
Media Library /wp-admin/upload.php1,400 ▼34.24 ▲0.0497.27 ▼0.1840.73 ▼0.49

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fast-backend/fast-backend.php:21

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: performance, backend

fast-backend/fast-backend.php Passed 13 tests

"Fast Backend" version 1.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
40 characters long description:
Improve Speed of WordPress Admin Backend

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 plugin79 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1114779

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.55
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin