83% et-personal-data-manager

Code Review | Personal Data Manager

WordPress plugin Personal Data Manager scored83%from 54 tests.

About plugin

  • Plugin page: et-personal-data-...
  • Plugin version: 0.0.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.7
  • WordPress version: 6.3.1
  • First release: May 28, 2021
  • Latest release: May 28, 2021
  • Number of updates: 6
  • Update frequency: every 0.3 days
  • Top authors: easytoolbox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /276 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.07MB] [CPU: ▼0.61ms] Passed 4 tests

This is a short check of server-side resources used by Personal Data Manager
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0736.03 ▼5.75
Dashboard /wp-admin3.38 ▲0.0848.27 ▲1.85
Posts /wp-admin/edit.php3.50 ▲0.1450.78 ▲0.45
Add New Post /wp-admin/post-new.php5.96 ▲0.0794.77 ▲3.59
Media Library /wp-admin/upload.php3.31 ▲0.0735.18 ▲1.00

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Personal Data Manager
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲10614.43 ▲0.031.88 ▼0.4439.54 ▼6.34
Dashboard /wp-admin2,222 ▲345.85 ▲0.94104.54 ▼6.9741.66 ▼2.00
Posts /wp-admin/edit.php2,105 ▲162.01 ▼0.0240.29 ▼2.5534.89 ▼4.69
Add New Post /wp-admin/post-new.php1,546 ▲923.39 ▲0.13604.16 ▼6.7652.27 ▼0.76
Media Library /wp-admin/upload.php1,407 ▲224.30 ▲0.0997.80 ▲0.2341.70 ▼3.67

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin does not fully uninstall, leaving 8 options in the database
    • widget_theysaidso_widget
    • et_personal_data_manager_installed
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • et_personal_data_manager_version
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 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 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 items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/et-personal-data-manager/includes/Backend/Views/about-us.php:1

User-side errors Passed 1 test

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


Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: task manage, expanse tracking, income tracking, daily data manage

et-personal-data-manager/et-personal-data-manager.php 77% from 13 tests

The main PHP script in "Personal Data Manager" version 0.0.1 is automatically included on every request by WordPress
The following require your attention:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Description: Keep the plugin description shorter than 140 characters (currently 167 characters long)
  • Requires at least: Required version does not match the one declared in readme.txt ("3.0.0" instead of "5.2")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected763 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity8.89
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.45
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
▷ Static methods1428.00%
▷ Public methods4896.00%
▷ Protected methods00.00%
▷ Private methods24.00%
▷ Named functions266.67%
▷ Anonymous functions133.33%
▷ Global constants583.33%
▷ Class constants116.67%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/easy-toolbox-logo-100x100-v2.png3.72KB2.21KB▼ 40.57%