90% aio-tools

Code Review | All in One Tools

WordPress plugin All in One Tools scored 90% from 54 tests.

About plugin

  • Plugin page: aio-tools
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-5.7.2
  • WordPress version: 5.8.1
  • First release: May 25, 2021
  • Latest release: May 25, 2021
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: shostvn (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 100 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.78MB] [CPU: ▼148.73ms] Passed 4 tests

Server-side resources used by All in One Tools
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.9146.16 ▲25.71
Dashboard /wp-admin3.84 ▲0.7956.30 ▲18.70
Posts /wp-admin/edit.php3.89 ▲0.7858.45 ▲5.51
Add New Post /wp-admin/post-new.php6.21 ▲0.77104.78 ▼623.69
Media Library /wp-admin/upload.php3.79 ▲0.7942.23 ▲4.55

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 164 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for All in One Tools
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,875 ▲26916.31 ▲0.7614.09 ▲1.9254.15 ▲4.44
Dashboard /wp-admin3,011 ▲775.89 ▼0.09140.37 ▼20.11138.85 ▲9.75
Posts /wp-admin/edit.php2,815 ▲762.74 ▲0.0172.30 ▲7.28104.96 ▼8.55
Add New Post /wp-admin/post-new.php1,711 ▲2818.80 ▲0.06399.73 ▲16.28115.68 ▲1.77
Media Library /wp-admin/upload.php1,809 ▼15.05 ▲0.00137.51 ▼14.13153.84 ▲25.74
Woocommerce /wp-admin/admin.php?page=w2w-settings#tab=woocommerce1,8604.5791.82149.37
Import / Export /wp-admin/admin.php?page=w2w-settings#tab=import-export1,8254.3492.05123.10
Dashboard /wp-admin/admin.php?page=w2w-settings#tab=dashboard1,8314.1290.06143.34

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 1 option
    • w2w_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Looking good! No server-side errors or output on direct access of PHP files

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


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: all in one, tools, toolkit

aio-tools/aio-tools.php 92% from 13 tests

The primary PHP file in "All in One Tools" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin26,395 lines of code in 127 files:
LanguageFilesBlank linesComment linesLines of code
PO File203,1973,5946,490

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.64
Average class complexity23.24
▷ Minimum class complexity1.00
▷ Maximum class complexity140.00
Average method complexity6.44
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
▷ Abstract classes34.55%
▷ Concrete classes6395.45%
▷ Final classes00.00%
▷ Static methods3914.44%
▷ Public methods26497.78%
▷ Protected methods00.00%
▷ Private methods62.22%
▷ Named functions24100.00%
▷ Anonymous functions00.00%
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/images/favicon.png15.09KB0.97KB▼ 93.56%