89% atlast-business-styling-customizer

Code Review | Atlast Business Theme Styling Customizer

WordPress plugin Atlast Business Theme Styling Customizer scored89%from 54 tests.

About plugin

  • Plugin page: atlast-business-s...
  • Plugin version: 0.8.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6.1-5.4.2
  • WordPress version: 6.3.1
  • First release: Apr 25, 2018
  • Latest release: Jun 17, 2020
  • Number of updates: 6
  • Update frequency: every 130.8 days
  • Top authors: ArchimidisM (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /3,068 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.25MB] [CPU: ▼7.58ms] Passed 4 tests

An overview of server-side resources used by Atlast Business Theme Styling Customizer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2745.32 ▲1.77
Dashboard /wp-admin3.56 ▲0.2544.36 ▼6.84
Posts /wp-admin/edit.php3.61 ▲0.2548.50 ▲2.86
Add New Post /wp-admin/post-new.php6.14 ▲0.2580.98 ▼23.70
Media Library /wp-admin/upload.php3.48 ▲0.2435.07 ▼1.56

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Atlast Business Theme Styling Customizer
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.60 ▼0.792.23 ▲0.4545.96 ▲3.60
Dashboard /wp-admin2,200 ▲115.83 ▼0.0799.03 ▼15.8837.92 ▼4.23
Posts /wp-admin/edit.php2,089 ▼02.00 ▲0.0140.53 ▲2.9435.82 ▲0.49
Add New Post /wp-admin/post-new.php1,536 ▲223.32 ▲0.41670.81 ▲3.1654.65 ▲3.06
Media Library /wp-admin/upload.php1,385 ▼64.30 ▼0.0797.47 ▼3.0643.08 ▼3.80

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
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
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed: The official readme.txt might help

atlast-business-styling-customizer/absc.php 69% from 13 tests

This is the main PHP file of "Atlast Business Theme Styling Customizer" version 0.8.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("atlast-business-styling-customizer.php" instead of "absc.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Description: Please don't use more than 140 characters for the plugin description (currently 265 characters long)
  • Domain Path: The domain path folder does not exist ("/languages")

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 detected2,356 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP4242781,508
JavaScript15914848

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.05
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin