90% buildace

Code Review | Buildace

WordPress plugin Buildace scored90%from 54 tests.

About plugin

  • Plugin page: buildace
  • Plugin version: 0.0.0.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.7.1
  • WordPress version: 6.3.1
  • First release: Apr 23, 2021
  • Latest release: Apr 24, 2021
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: engramium (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /365 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.24MB] [CPU: ▼7.99ms] Passed 4 tests

A check of server-side resources used by Buildace
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0442.07 ▲0.58
Dashboard /wp-admin3.34 ▲0.0376.41 ▲21.83
Posts /wp-admin/edit.php3.39 ▲0.0349.88 ▼1.60
Add New Post /wp-admin/post-new.php4.83 ▼1.0664.01 ▼31.02
Media Library /wp-admin/upload.php3.26 ▲0.0336.07 ▲0.10

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
db_upgraded
artisanblocks_version
widget_recent-comments
artisanblocks_installed

Browser metrics Passed 4 tests

This is an overview of browser requirements for Buildace
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲6314.35 ▲0.081.84 ▲0.2542.05 ▼3.92
Dashboard /wp-admin2,192 ▲125.64 ▼0.0195.59 ▲1.1743.21 ▲0.12
Posts /wp-admin/edit.php2,100 ▲32.01 ▲0.0638.37 ▼1.1535.74 ▼1.27
Add New Post /wp-admin/post-new.php1,654 ▲12723.87 ▲1.02643.00 ▼45.9661.90 ▲1.05
Media Library /wp-admin/upload.php1,394 ▼64.20 ▲0.08105.53 ▼9.5243.41 ▼7.52

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 8 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • artisanblocks_version
    • can_compress_scripts
    • artisanblocks_installed

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Screenshots: Please add an image for screenshot #1 (Progress Bar)
You can take inspiration from this readme.txt

buildace/buildace.php Passed 13 tests

The primary PHP file in "Buildace" version 0.0.0.1 is used by WordPress to initiate all plugin functionality
46 characters long description:
Enrich the WordPress website creation workflow

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
Good job! No executable or dangerous file extensions detected651 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1319461497
PHP23596101
CSS211153

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity3.00
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.31
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods13
▷ Static methods17.69%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
PNG images were not found in this plugin