84% speed-booster-by-melotheme

Code Review | Speed Booster By Melotheme

WordPress plugin Speed Booster By Melotheme scored84%from 54 tests.

About plugin

  • Plugin page: speed-booster-by-...
  • Plugin version: 0.0.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.3.2
  • WordPress version: 6.3.1
  • First release: Mar 10, 2020
  • Latest release: Mar 10, 2020
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: TheAnuvhuti (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,206 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.08MB] [CPU: ▼3.58ms] Passed 4 tests

Analyzing server-side resources used by Speed Booster By Melotheme
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0746.67 ▲3.22
Dashboard /wp-admin3.39 ▲0.0849.04 ▼4.47
Posts /wp-admin/edit.php3.50 ▲0.1451.74 ▼4.09
Add New Post /wp-admin/post-new.php5.97 ▲0.0890.21 ▼8.98
Media Library /wp-admin/upload.php3.31 ▲0.0841.38 ▲3.93
Speed Booster by Melotheme /wp-admin/options-general.php?page=SPEEDBOOSTER_options3.2835.31

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 20 new options
New WordPress options
widget_recent-comments
widget_recent-posts
SPEEDBOOSTER_lazy_enable
widget_theysaidso_widget
SPEEDBOOSTER_cach_enable
SPEEDBOOSTER_quer_enable
can_compress_scripts
SPEEDBOOSTER_html_enable
SPEEDBOOSTER_migr_enable
SPEEDBOOSTER_emoj_enable
...

Browser metrics Passed 4 tests

Checking browser requirements for Speed Booster By Melotheme
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲4914.34 ▲0.121.74 ▲0.0244.21 ▼0.20
Dashboard /wp-admin2,204 ▲275.65 ▲0.1191.81 ▼8.7242.04 ▼1.58
Posts /wp-admin/edit.php2,106 ▲62.02 ▼0.0040.20 ▲3.3936.63 ▲0.96
Add New Post /wp-admin/post-new.php1,531 ▲323.44 ▲0.42700.08 ▲2.0467.11 ▲10.00
Media Library /wp-admin/upload.php1,406 ▲64.11 ▼0.10109.80 ▲0.7446.95 ▼0.61
Speed Booster by Melotheme /wp-admin/options-general.php?page=SPEEDBOOSTER_options8851.9926.5941.68

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 5× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/speed-booster-by-melotheme/speed-booster-by-melotheme.php
    • > /wp-content/plugins/speed-booster-by-melotheme/admin/admin.php
    • > /wp-content/plugins/speed-booster-by-melotheme/functions/index.php
    • > /wp-content/plugins/speed-booster-by-melotheme/admin/index.php
    • > /wp-content/plugins/speed-booster-by-melotheme/functions/speeb-booster-functions.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

speed-booster-by-melotheme/speed-booster-by-melotheme.php Passed 13 tests

"Speed Booster By Melotheme" version 0.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Easy WordPress website Speed & Performance optimization with one click!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,047 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP611451532
CSS212514
JavaScript1011

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions31
▷ Named functions2890.32%
▷ Anonymous functions39.68%
Constants2
▷ Global constants2100.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