83% eacsoftwareregistry-distribution-sdk

Code Review | {eac}SoftwareRegistry Distribution SDK

WordPress plugin {eac}SoftwareRegistry Distribution SDK scored83%from 54 tests.

About plugin

  • Plugin page: eacsoftwareregist...
  • Plugin version: 1.0.9
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jul 14, 2022
  • Latest release: Sep 2, 2023
  • Number of updates: 35
  • Update frequency: every 11.9 days
  • Top authors: kevinburkholder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,072 total downloads

Benchmarks

Plugin footprint 83% from 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: ▼4.25ms] Passed 4 tests

Server-side resources used by {eac}SoftwareRegistry Distribution SDK
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0138.20 ▼4.46
Dashboard /wp-admin3.31 ▲0.0143.40 ▼5.80
Posts /wp-admin/edit.php3.36 ▲0.0046.12 ▲0.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.89 ▼5.07
Media Library /wp-admin/upload.php3.23 ▲0.0033.76 ▼1.66

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for {eac}SoftwareRegistry Distribution SDK
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.29 ▼1.541.61 ▼0.2542.59 ▼0.45
Dashboard /wp-admin2,206 ▲185.83 ▼0.0598.93 ▼4.0637.17 ▼3.97
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0138.49 ▼1.4234.65 ▲3.58
Add New Post /wp-admin/post-new.php1,514 ▼1917.47 ▼5.80656.33 ▲2.0349.31 ▼7.13
Media Library /wp-admin/upload.php1,391 ▲94.21 ▼0.0495.13 ▼1.7742.36 ▼0.67

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'EarthAsylumConsulting\\abstract_extension' not found in wp-content/plugins/eacsoftwareregistry-distribution-sdk/Extensions/class.eacSoftwareRegistry_SDK.extension.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function EarthAsylumConsulting\\add_filter() in wp-content/plugins/eacsoftwareregistry-distribution-sdk/eacSoftwareRegistry_Distribution_SDK.php:52

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 86% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: software registry, license manager, eacsoftwareregistry, registration api, software license...

eacsoftwareregistry-distribution-sdk/eacSoftwareRegistry_Distribution_SDK.php 69% from 13 tests

The entry point to "{eac}SoftwareRegistry Distribution SDK" version 1.0.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
  • Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eacsoftwareregistry-distribution-sdk.php" instead of "eacSoftwareRegistry_Distribution_SDK.php")
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin971 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
Markdown11110564
PHP228148222
Smarty152126185

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity8.50
▷ Minimum class complexity1.00
▷ Maximum class complexity16.00
Average method complexity5.00
▷ Minimum method complexity2.00
▷ Maximum method complexity8.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants2
▷ Global constants150.00%
▷ Class constants150.00%
▷ Public constants1100.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
No PNG images were found in this plugin