100% acf-tab-accordion-title-icons

Code Review | ACF Tab & Accordion Title Icons

WordPress plugin ACF Tab & Accordion Title Icons scored 100% from 54 tests.

About plugin

  • Plugin page: acf-tab-accordion...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.5
  • WordPress version: 5.8.1
  • First release: Dec 13, 2017
  • Latest release: Aug 22, 2020
  • Number of updates: 5
  • Update frequency: every 197.8 days
  • Top authors: tmconnect (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active / 1,344 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.00MB] [CPU: ▼196.06ms] Passed 4 tests

A check of server-side resources used by ACF Tab & Accordion Title Icons
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0024.86 ▲1.65
Dashboard /wp-admin3.06 ▼0.0033.41 ▼7.08
Posts /wp-admin/edit.php3.11 ▲0.0029.99 ▲1.09
Add New Post /wp-admin/post-new.php5.42 ▼0.0270.15 ▼777.22
Media Library /wp-admin/upload.php3.00 ▲0.0022.42 ▼1.01

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ACF Tab & Accordion Title Icons
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲6515.98 ▼0.025.84 ▲0.7976.97 ▼0.76
Dashboard /wp-admin2,929 ▲376.12 ▼0.05116.84 ▼22.85168.68 ▼14.40
Posts /wp-admin/edit.php2,737 ▼63.24 ▲0.0063.27 ▼4.29138.19 ▲1.49
Add New Post /wp-admin/post-new.php3,698 ▼3718.09 ▲0.25435.42 ▲17.16161.08 ▼1.37
Media Library /wp-admin/upload.php1,749 ▼35.50 ▼0.04140.23 ▼6.21180.49 ▼6.16

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
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
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: accordions, tabs, advanced custom fields, tab, acfpro...

acf-tab-accordion-title-icons/acf-tab-accordion-title-icons.php 92% from 13 tests

Analyzing the main PHP file in "ACF Tab & Accordion Title Icons" version 1.0.1
Please make the necessary changes and fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin8,460 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File2303094

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity17.00
▷ Minimum class complexity17.00
▷ Maximum class complexity17.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
There are no PNG files in this plugin