90% acelerator

Code Review | Acelerator

WordPress plugin Acelerator scored 90% from 54 tests.

About plugin

  • Plugin page: acelerator
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.6
  • WordPress version: 5.9.2
  • First release: May 17, 2018
  • Latest release: May 18, 2018
  • Number of updates: 13
  • Update frequency: every 0.2 days
  • Top authors: alecksmart (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 673 total downloads


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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼307.75ms] Passed 4 tests

A check of server-side resources used by Acelerator
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0256.39 ▲4.29
Dashboard /wp-admin3.46 ▲0.0633.43 ▲0.08
Posts /wp-admin/edit.php3.69 ▲0.0540.56 ▲5.18
Add New Post /wp-admin/post-new.php6.93 ▼0.0492.29 ▼1,235.65
Media Library /wp-admin/upload.php3.34 ▲0.0524.43 ▲0.29
Acelerator /wp-admin/options-general.php?page=acelerator-setting-admin3.3122.09

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 376 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Acelerator: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,772 ▲3015.90 ▲0.226.04 ▼0.292.29 ▼0.53
Dashboard /wp-admin2,901 ▲406.24 ▲0.08116.79 ▼22.76154.84 ▼8.27
Posts /wp-admin/edit.php2,666 ▼283.27 ▲0.0465.92 ▲2.94141.62 ▲1.72
Add New Post /wp-admin/post-new.php1,666 ▲516.02 ▼0.79407.30 ▼26.81152.55 ▲7.24
Media Library /wp-admin/upload.php1,707 ▲95.50 ▲0.03139.28 ▼0.06185.07 ▲8.31
Acelerator /wp-admin/options-general.php?page=acelerator-setting-admin1,0452.3752.23152.37

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 1 option in the database
    • acelerator_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Screenshots: A description for screenshot #1 is missing in acelerator/assets to your readme.txt
The official readme.txt is a good inspiration

acelerator/acelerator.php Passed 13 tests

The primary PHP file in "Acelerator" version 0.1 is used by WordPress to initiate all plugin functionality
36 characters long description:
Enhance any textarea with ace editor

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
There were no executable files found in this plugin3,169 lines of code in 372 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity5.67
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity1.87
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods16.25%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants00.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