99% aki-toolset

Code Review | Aki Toolset

WordPress plugin Aki Toolset scored 99% from 54 tests.

About plugin

  • Plugin page: aki-toolset
  • Plugin version: 1.0.3
  • PHP compatiblity: 4.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.3
  • WordPress version: 5.8.1
  • First release: Aug 26, 2019
  • Latest release: Dec 11, 2019
  • Number of updates: 6
  • Update frequency: every 18.0 days
  • Top authors: akithemes (66.67%)addonspress (50%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 4,710 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼138.63ms] Passed 4 tests

This is a short check of server-side resources used by Aki Toolset
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.96 ▲0.1337.50 ▼0.55
Dashboard /wp-admin3.19 ▲0.1351.34 ▲6.79
Posts /wp-admin/edit.php3.23 ▲0.1347.31 ▲0.54
Add New Post /wp-admin/post-new.php5.55 ▲0.12100.72 ▼547.98
Media Library /wp-admin/upload.php3.13 ▲0.1234.16 ▼6.51

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 55 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Aki Toolset
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.86 ▲0.2410.26 ▼0.4250.36 ▼4.12
Dashboard /wp-admin2,967 ▲366.04 ▼0.08166.90 ▲2.69118.44 ▼10.25
Posts /wp-admin/edit.php2,736 ▼32.69 ▼0.0070.92 ▲0.0389.18 ▼7.42
Add New Post /wp-admin/post-new.php1,683 ▲718.74 ▼0.16387.39 ▼2.00114.20 ▼12.38
Media Library /wp-admin/upload.php1,748 ▼34.97 ▼0.02155.86 ▼2.30131.85 ▼1.07

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

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
Everything seems fine, however this is by no means an exhaustive test

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% 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
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (Aki Toolset)
You can take inspiration from this readme.txt

aki-toolset/aki-toolset.php 85% from 13 tests

"Aki Toolset" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Description: Keep the plugin description shorter than 140 characters (currently 162 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin883 lines of code in 47 files:
LanguageFilesBlank linesComment linesLines of code
PHP47447763
CSS15056
JSON410041
JavaScript15523

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity17.00
▷ Minimum class complexity3.00
▷ Maximum class complexity31.00
Average method complexity3.46
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods13
▷ Static methods215.38%
▷ Public methods1184.62%
▷ Protected methods00.00%
▷ Private methods215.38%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
There are no PNG files in this plugin