78% synchro-mdworks

Code Review | Synchro MDWorks

WordPress plugin Synchro MDWorks scored78%from 54 tests.

About plugin

  • Plugin page: synchro-mdworks
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-5.6
  • WordPress version: 6.3.1
  • First release: Oct 11, 2016
  • Latest release: Jan 12, 2021
  • Number of updates: 22
  • Update frequency: every 71.2 days
  • Top authors: ediware (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /671 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.08MB] [CPU: ▼7.73ms] Passed 4 tests

An overview of server-side resources used by Synchro MDWorks
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0932.86 ▼10.09
Dashboard /wp-admin3.39 ▲0.0543.65 ▼13.94
Posts /wp-admin/edit.php3.50 ▲0.1547.04 ▼2.83
Add New Post /wp-admin/post-new.php5.99 ▲0.1083.69 ▼4.07
Media Library /wp-admin/upload.php3.31 ▲0.0834.71 ▲0.14
MDWorks /wp-admin/options-general.php?page=hostedlists3.2525.93

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Synchro MDWorks
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲6014.40 ▲0.041.57 ▼0.1537.66 ▼7.58
Dashboard /wp-admin2,212 ▲294.86 ▼0.08113.23 ▲0.9642.57 ▼5.62
Posts /wp-admin/edit.php2,095 ▲62.05 ▲0.0838.49 ▼3.3436.61 ▲0.13
Add New Post /wp-admin/post-new.php1,538 ▲523.01 ▼0.29664.43 ▲0.5160.78 ▲13.71
Media Library /wp-admin/upload.php1,388 ▼04.23 ▲0.0596.87 ▲0.8241.91 ▼3.31
MDWorks /wp-admin/options-general.php?page=hostedlists6801.558.5017.15

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • recovery_mode_email_last_sent
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=hostedlists
    • > Error in wp-content/plugins/synchro-mdworks/mdworks_hosted_lists.php+371
    Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/synchro-mdworks/mdworks_hosted_lists.php:371
    Stack trace:
    #0 wp-content/plugins/synchro-mdworks/mdworks_hosted_lists.php(72): spHostedLists->getLstDataBase()
    #1 wp-includes/class-wp-hook.php(310): spHostedLists->confighostedlists()
    #2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #3 wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 wp-admin/admin.php(259): do_action()
    #5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
    #6 {main}
    thrown

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 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/synchro-mdworks/views/vw-settings.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: autoresponder, email-marketing, automation, marketing automation

synchro-mdworks/mdworks_hosted_lists.php 85% from 13 tests

The entry point to "Synchro MDWorks" version 1.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("synchro-mdworks.php" instead of "mdworks_hosted_lists.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin600 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP388127497
PO File1374494
JavaScript11019

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity74.00
▷ Minimum class complexity74.00
▷ Maximum class complexity74.00
Average method complexity4.48
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods21
▷ Static methods00.00%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin