83% eacsoftwareregistry-software-taxonomy

Code Review | {eac}SoftwareRegistry Software Taxonomy

WordPress plugin {eac}SoftwareRegistry Software Taxonomy scored83%from 54 tests.

About plugin

  • Plugin page: eacsoftwareregist...
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5.0-6.4
  • WordPress version: 6.3.1
  • First release: May 12, 2023
  • Latest release: Nov 1, 2023
  • Number of updates: 13
  • Update frequency: every 13.3 days
  • Top authors: kevinburkholder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /211 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.77ms] Passed 4 tests

An overview of server-side resources used by {eac}SoftwareRegistry Software Taxonomy
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.27 ▼1.65
Dashboard /wp-admin3.32 ▲0.0145.68 ▼4.07
Posts /wp-admin/edit.php3.37 ▲0.0146.63 ▼3.28
Add New Post /wp-admin/post-new.php5.90 ▲0.0179.19 ▼18.08
Media Library /wp-admin/upload.php3.24 ▲0.0135.81 ▲3.27

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for {eac}SoftwareRegistry Software Taxonomy
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.30 ▼0.071.59 ▼0.1540.31 ▼7.36
Dashboard /wp-admin2,198 ▲245.63 ▲0.0690.63 ▼12.1237.80 ▼4.91
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0337.95 ▲2.6434.38 ▼0.86
Add New Post /wp-admin/post-new.php1,529 ▲123.17 ▼0.05586.79 ▼123.8547.20 ▼16.92
Media Library /wp-admin/upload.php1,400 ▼04.25 ▲0.06100.03 ▲0.4843.43 ▼3.14

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function EarthAsylumConsulting\\add_filter() in wp-content/plugins/eacsoftwareregistry-software-taxonomy/eacSoftwareRegistry_Software_taxonomy.php:52
    • > PHP Fatal error
      Uncaught Error: Class 'EarthAsylumConsulting\\abstract_extension' not found in wp-content/plugins/eacsoftwareregistry-software-taxonomy/Extensions/class.software_taxonomy.extension.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 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
Please fix the following attributes: The official readme.txt is a good inspiration

eacsoftwareregistry-software-taxonomy/eacSoftwareRegistry_Software_taxonomy.php 77% from 13 tests

"{eac}SoftwareRegistry Software Taxonomy" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("eacsoftwareregistry-software-taxonomy.php" instead of "eacSoftwareRegistry_Software_taxonomy.php")
  • Text Domain: The text domain name should consist of only dashes and lowercase characters
  • Domain Path: The domain path folder was not found ("/languages")

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
Everything looks great! No dangerous files found in this plugin1,205 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP4102308641
Markdown11110564

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity30.50
▷ Minimum class complexity1.00
▷ Maximum class complexity60.00
Average method complexity3.75
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods23
▷ Static methods00.00%
▷ Public methods23100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions00.00%
▷ Anonymous functions6100.00%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.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