89% agency-toolkit

Code Review | Agency Toolkit

WordPress plugin Agency Toolkit scored 89% from 54 tests.

About plugin

  • Plugin page: agency-toolkit
  • Plugin version: 1.0.15
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.3
  • WordPress version: 6.3.1
  • First release: May 23, 2022
  • Latest release: Aug 28, 2023
  • Number of updates: 51
  • Update frequency: every 9.1 days
  • Top authors: inspry (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 2,234 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.24MB] [CPU: ▲2.06ms] Passed 4 tests

This is a short check of server-side resources used by Agency Toolkit
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.69 ▲0.2345.06 ▲0.47
Dashboard /wp-admin3.54 ▲0.2458.11 ▲5.69
Posts /wp-admin/edit.php3.65 ▲0.3055.65 ▲10.32
Add New Post /wp-admin/post-new.php6.13 ▲0.2492.99 ▼6.85
Media Library /wp-admin/upload.php3.46 ▲0.2443.01 ▲8.94
FAQs /wp-admin/admin.php?page=inspry-toolkit-faqs3.4645.24

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Agency Toolkit
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲10613.25 ▼1.131.81 ▲0.0834.51 ▼14.86
Dashboard /wp-admin2,226 ▲384.89 ▼0.04111.78 ▲3.3566.72 ▲19.94
Posts /wp-admin/edit.php2,109 ▲231.98 ▼0.0032.95 ▼1.4233.04 ▼2.19
Add New Post /wp-admin/post-new.php1,538 ▲2122.93 ▲5.36760.01 ▲147.2664.87 ▲12.07
Media Library /wp-admin/upload.php1,405 ▲204.25 ▲0.0598.01 ▲1.7883.88 ▲39.73
FAQs /wp-admin/admin.php?page=inspry-toolkit-faqs1,0943.3746.0067.14

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found


Plugin configuration 93% 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
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
You can take inspiration from this readme.txt

agency-toolkit/main.php 92% from 13 tests

Analyzing the main PHP file in "Agency Toolkit" version 1.0.15
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("agency-toolkit.php" instead of "main.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin3,117 lines of code in 53 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.53
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions7490.24%
▷ Anonymous functions89.76%
▷ Global constants5100.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
PNG images were not found in this plugin