90% export-comment-author-emails

Code Review | Export Comment Author Emails - Build email list

WordPress plugin Export Comment Author Emails - Build email list scored90%from 54 tests.

About plugin

  • Plugin page: export-comment-au...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0-5.0.3
  • WordPress version: 6.3.1
  • First release: Feb 15, 2019
  • Latest release: Feb 16, 2019
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: onetarek (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /706 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

Analyzing server-side resources used by Export Comment Author Emails - Build email list
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.41 ▲4.17
Dashboard /wp-admin3.31 ▲0.0150.24 ▲0.40
Posts /wp-admin/edit.php3.36 ▲0.0145.64 ▼5.85
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.24 ▼10.53
Media Library /wp-admin/upload.php3.24 ▲0.0137.73 ▲3.68
Export Comment Author Emails /wp-admin/tools.php?page=export_comment_author_emails3.2032.37

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Export Comment Author Emails - Build email list
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.10 ▼0.181.67 ▼0.0943.47 ▼0.65
Dashboard /wp-admin2,196 ▲165.55 ▼0.0984.63 ▼5.8737.93 ▼1.42
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0235.37 ▼0.0332.37 ▼0.05
Add New Post /wp-admin/post-new.php1,534 ▲823.34 ▲0.29657.16 ▼0.2861.85 ▼5.83
Media Library /wp-admin/upload.php1,404 ▲134.12 ▼0.07109.62 ▲4.4343.14 ▼1.63
Export Comment Author Emails /wp-admin/tools.php?page=export_comment_author_emails9332.0321.8027.23

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: email list building, comments, mailinglist, export, comment author...

export-comment-author-emails/export-comment-author-emails.php Passed 13 tests

Analyzing the main PHP file in "Export Comment Author Emails - Build email list" version 1.0.0
94 characters long description:
Export email addresses list from existing comments on your website. Build an extra email list.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected188 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13730188

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.38
Average class complexity26.00
▷ Minimum class complexity26.00
▷ Maximum class complexity26.00
Average method complexity4.12
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin