74% data-subject-access-request-form-dsar-sar-ccpa-seers

Code Review | Data Subject Acess Request Form DSAR SAR GDPR CCPA Seers

WordPress plugin Data Subject Acess Request Form DSAR SAR GDPR CCPA Seers scored 74% from 54 tests.

About plugin

  • Plugin page: data-subject-acce...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.3.3+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Aug 28, 2020
  • Latest release: Sep 7, 2020
  • Number of updates: 3
  • Update frequency: every 9.0 days
  • Top authors: seersco (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 791 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Data Subject Acess Request Form DSAR SAR GDPR CCPA Seers
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.79 ▼6.82
Dashboard /wp-admin3.33 ▲0.0251.00 ▲1.30
Posts /wp-admin/edit.php3.38 ▲0.0250.50 ▲5.15
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.63 ▼3.72
Media Library /wp-admin/upload.php3.25 ▲0.0235.10 ▲1.57

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Data Subject Acess Request Form DSAR SAR GDPR CCPA Seers
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲8113.22 ▼1.531.88 ▼0.4240.62 ▼7.38
Dashboard /wp-admin2,222 ▲345.88 ▲0.03111.69 ▲5.5542.22 ▼0.03
Posts /wp-admin/edit.php2,105 ▲162.06 ▲0.0340.44 ▲2.1837.00 ▲3.05
Add New Post /wp-admin/post-new.php1,546 ▲1323.06 ▼0.03671.35 ▲7.8352.54 ▼8.01
Media Library /wp-admin/upload.php1,398 ▲104.24 ▲0.0599.41 ▼3.9944.00 ▼1.57

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Uninstall procedure had uncaught errors
    • > User notice in wp-includes/functions.php+5905
    Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
Almost there! Just fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/data-subject-access-request-form-dsar-sar-ccpa-seers/Data-Subject-Acess-Request-Form-DSAR-SAR-GDPR-CCPA-Seers.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Requires at least: Version not formatted correctly
The official readme.txt is a good inspiration

data-subject-access-request-form-dsar-sar-ccpa-seers/Data-Subject-Acess-Request-Form-DSAR-SAR-GDPR-CCPA-Seers.php 92% from 13 tests

The entry point to "Data Subject Acess Request Form DSAR SAR GDPR CCPA Seers" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("data-subject-access-request-form-dsar-sar-ccpa-seers.php" instead of "Data-Subject-Acess-Request-Form-DSAR-SAR-GDPR-CCPA-Seers.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin97 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP6465297

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.22
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods8
▷ Static methods225.00%
▷ Public methods8100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin