68% full-detail-from-email

Code Review | Full Detail From Email

WordPress plugin Full Detail From Email scored68%from 54 tests.

About plugin

  • Plugin page: full-detail-from-...
  • Plugin version: 2.2.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-5.3
  • WordPress version: 6.3.1
  • First release: Jun 18, 2020
  • Latest release: Jun 18, 2020
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: skywaveinfo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /350 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

Server-side resources used by Full Detail From Email
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0737.06 ▼4.72
Dashboard /wp-admin3.37 ▲0.0745.39 ▲0.67
Posts /wp-admin/edit.php3.43 ▲0.0748.26 ▼2.93
Add New Post /wp-admin/post-new.php5.97 ▲0.0885.06 ▼7.35
Media Library /wp-admin/upload.php3.30 ▲0.0741.15 ▲8.53
All Users /wp-admin/admin.php?page=skyfdfe_all_users3.2734.53
Full Detail From Email /wp-admin/admin.php?page=skyfdfe_manage3.2733.32

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: 2 new tables, 6 new options
New tables
wp_skyfdfe_user
wp_skyfdfe_user_data
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Full Detail From Email
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,935 ▲17813.86 ▼0.455.99 ▲4.2544.48 ▼4.44
Dashboard /wp-admin2,239 ▲545.11 ▼0.77105.87 ▼26.2439.17 ▼8.33
Posts /wp-admin/edit.php2,125 ▲362.40 ▲0.4135.82 ▼5.0731.99 ▼6.26
Add New Post /wp-admin/post-new.php1,545 ▲2623.25 ▲0.18631.88 ▼27.2254.14 ▼3.47
Media Library /wp-admin/upload.php1,427 ▲424.32 ▲0.0499.70 ▲3.0643.77 ▲0.26
All Users /wp-admin/admin.php?page=skyfdfe_all_users8621.7824.9728.10
Full Detail From Email /wp-admin/admin.php?page=skyfdfe_manage8761.7925.6133.18

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie tables were found after uninstall: 2 tables
    • wp_skyfdfe_user
    • wp_skyfdfe_user_data
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 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
Please take a closer look at the following
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/full-detail-from-email/public/template.php
    • > /wp-content/plugins/full-detail-from-email/admin/includes/user-list.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/full-detail-from-email/public/template.php:37

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (How it look like), #2 (How to add Firebase Full Contact API key and IPO token), #3 (How to see detail of subscriber on admin)
The official readme.txt is a good inspiration

full-detail-from-email/full-detail-from-email.php 92% from 13 tests

This is the main PHP file of "Full Detail From Email" version 2.2.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

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
There were no executable files found in this plugin1,694 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript31019897
PHP76582488
CSS25935309

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods150.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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 were not PNG files found in your plugin