100% acf-multiple-taxonomy

Code Review | ACF: Multiple Taxonomy

WordPress plugin ACF: Multiple Taxonomy scored 100% from 54 tests.

About plugin

  • Plugin page: acf-multiple-taxo...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.7.2
  • WordPress version: 5.9.2
  • First release: Jan 19, 2021
  • Latest release: Jul 14, 2021
  • Number of updates: 8
  • Update frequency: every 22.1 days
  • Top authors: gameryo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 557 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼293.83ms] Passed 4 tests

A check of server-side resources used by ACF: Multiple Taxonomy
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0163.45 ▲11.93
Dashboard /wp-admin3.41 ▲0.0132.25 ▼1.59
Posts /wp-admin/edit.php3.65 ▲0.0135.75 ▼3.02
Add New Post /wp-admin/post-new.php6.89 ▼0.0893.36 ▼1,170.40
Media Library /wp-admin/upload.php3.30 ▲0.0126.11 ▼0.30

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for ACF: Multiple Taxonomy
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲915.80 ▲0.016.96 ▲1.092.16 ▼0.34
Dashboard /wp-admin2,895 ▲346.15 ▼0.18117.20 ▼15.22153.58 ▼8.90
Posts /wp-admin/edit.php2,691 ▲33.24 ▲0.0161.89 ▼1.78137.83 ▼8.14
Add New Post /wp-admin/post-new.php1,773 ▲6220.97 ▼0.19470.33 ▲7.13160.94 ▲3.93
Media Library /wp-admin/upload.php1,698 ▼05.48 ▼0.05139.14 ▼6.90184.70 ▼4.64

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Looking good! No server-side errors or output on direct access of PHP files

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention: The official readme.txt might help

acf-multiple-taxonomy/acf-multiple-taxonomy.php Passed 13 tests

"ACF: Multiple Taxonomy" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
105 characters long description:
A simple plugin to add a Multiple Taxonomy field. It allows you to select term(s) from multiple taxonomy.

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
No dangerous file extensions were detected457 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP2274285325
PO File1242466
Markdown619041
JavaScript1203325

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity25.00
▷ Minimum class complexity2.00
▷ Maximum class complexity48.00
Average method complexity4.69
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin