84% listenloop

Code Review | ListenLoop

WordPress plugin ListenLoop scored84%from 54 tests.

About plugin

  • Plugin page: listenloop
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-4.1
  • WordPress version: 6.3.1
  • First release: Apr 29, 2015
  • Latest release: Apr 30, 2015
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: sandeep45 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /648 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼11.74ms] Passed 4 tests

Analyzing server-side resources used by ListenLoop
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.66 ▼9.69
Dashboard /wp-admin3.32 ▼0.0342.88 ▼19.11
Posts /wp-admin/edit.php3.37 ▲0.0142.37 ▼4.95
Add New Post /wp-admin/post-new.php5.90 ▲0.0181.56 ▼12.73
Media Library /wp-admin/upload.php3.24 ▲0.0130.71 ▼5.44
ListenLoop /wp-admin/options-general.php?page=listenloop3.2129.29

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
listenloop_public_key
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for ListenLoop
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,922 ▲16113.85 ▼0.5017.90 ▲16.3252.40 ▲12.59
Dashboard /wp-admin2,196 ▲195.53 ▼0.1182.24 ▼3.8638.64 ▼5.10
Posts /wp-admin/edit.php2,104 ▲41.97 ▼0.0533.87 ▼2.3531.13 ▼4.85
Add New Post /wp-admin/post-new.php1,532 ▲623.13 ▼0.40677.94 ▲70.5152.47 ▲4.19
Media Library /wp-admin/upload.php1,407 ▲74.13 ▲0.0098.28 ▼5.5841.86 ▼1.41
ListenLoop /wp-admin/options-general.php?page=listenloop7992.1624.0424.73

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
Almost there! Just fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/listenloop/listenloop.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/listenloop/options.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Modified settings panel with ListenLoop.), #2 (ListenLoop settings page.)
Please take inspiration from this readme.txt

listenloop/listenloop.php Passed 13 tests

The main PHP script in "ListenLoop" version 1.1 is automatically included on every request by WordPress
93 characters long description:
Integrate the ListenLoop B2B Retarging and micro survey solution into your WordPress website.

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
Success! There were no dangerous files found in this plugin70 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP219870

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png66.56KB20.49KB▼ 69.22%
screenshot-2.png24.01KB6.82KB▼ 71.60%