72% ipushpull

Code Review | Live updates from Excel

WordPress plugin Live updates from Excel scored72%from 54 tests.

About plugin

  • Plugin page: ipushpull
  • Plugin version: 2.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jul 24, 2015
  • Latest release: Nov 21, 2023
  • Number of updates: 90
  • Update frequency: every 33.9 days
  • Top authors: ipushpull (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active /17,072 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼3.40ms] Passed 4 tests

An overview of server-side resources used by Live updates from Excel
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.96 ▼1.68
Dashboard /wp-admin3.33 ▲0.0341.56 ▼6.09
Posts /wp-admin/edit.php3.38 ▲0.0345.82 ▲2.43
Add New Post /wp-admin/post-new.php5.93 ▲0.0584.62 ▼7.32
Media Library /wp-admin/upload.php3.25 ▲0.0332.96 ▲1.51
ipushpull Maintenance /wp-admin/admin.php?page=ipushpull-maintenance3.2632.98
ipushpull Support /wp-admin/admin.php?page=ipushpull-support3.2430.20
ipushpull App /wp-admin/admin.php?page=ipushpull3.2431.93

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Live updates from Excel
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,073 ▲32613.82 ▼0.337.49 ▲5.6539.96 ▼3.26
Dashboard /wp-admin2,657 ▲4767.19 ▲1.57105.57 ▲0.7581.12 ▲36.90
Posts /wp-admin/edit.php2,137 ▲342.16 ▲0.1436.71 ▼1.1635.33 ▼1.69
Add New Post /wp-admin/post-new.php1,555 ▲2923.30 ▲0.00678.69 ▲70.8359.48 ▲5.78
Media Library /wp-admin/upload.php1,437 ▲344.19 ▼0.0194.32 ▼4.8173.32 ▲29.68
ipushpull Maintenance /wp-admin/admin.php?page=ipushpull-maintenance8512.0224.2529.34
ipushpull Support /wp-admin/admin.php?page=ipushpull-support8301.8425.9527.93
ipushpull App /wp-admin/admin.php?page=ipushpull8201.9625.8923.41

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% 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 take a closer look at the following
  • 7× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/ipushpull/admin/tinymce/dialog.php
    • > /wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-display.php
    • > /wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-maintenance.php
    • > /wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-support.php
    • > /wp-content/plugins/ipushpull/admin/partials/ipushpull-dashboard-widget.php
    • > /wp-content/plugins/ipushpull/admin/tinymce/user.php
    • > /wp-content/plugins/ipushpull/public/partials/ipushpull-public-display.php
  • 7× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ipushpull/includes/class-ipushpull-deactivator.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ipushpull/admin/class-ipushpull-admin.php:3
    • > PHP Notice
      Undefined variable: posts in wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-maintenance.php on line 38
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ipushpull/includes/class-ipushpull-activator.php:3
    • > PHP Warning
      Invalid argument supplied for foreach() in wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-maintenance.php on line 38
    • > PHP Warning
      Use of undefined constant IPUSHPULL_URL - assumed 'IPUSHPULL_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-display.php on line 18
    • > PHP Notice
      Undefined variable: check in wp-content/plugins/ipushpull/admin/partials/ipushpull-admin-maintenance.php on line 79

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/admin.php?page=ipushpull-support
    • > Security (severe) in unknown
    security - Refused to frame 'https://support.ipushpull.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors https:".
    • > GET request to /wp-admin/admin.php?page=ipushpull
    • > Other (severe) in unknown
    chrome-error://chromewebdata/ - Refused to display 'https://www.ipushpull.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 20 tag instead of maximum 10
The official readme.txt is a good inspiration

ipushpull/ipushpull.php 92% from 13 tests

The main file in "Live updates from Excel" v. 2.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 241 characters long)

Code Analysis 97% from 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 plugin894 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP19234690751
JavaScript41960101
CSS21842

PHP code 50% from 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 102)
Cyclomatic complexity
Average complexity per logical line of code0.64
Average class complexity17.88
▷ Minimum class complexity1.00
▷ Maximum class complexity102.00
Average method complexity4.29
▷ Minimum method complexity1.00
▷ Maximum method complexity102.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods41
▷ Static methods37.32%
▷ Public methods3380.49%
▷ Protected methods00.00%
▷ Private methods819.51%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/tinymce/icon.png1.74KB1.51KB▼ 13.15%