84% mm-linkedin-connect

Code Review | MM LinkedIn Connection

WordPress plugin MM LinkedIn Connection scored84%from 54 tests.

About plugin

  • Plugin page: mm-linkedin-connect
  • Plugin version: 1...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4
  • WordPress version: 6.3.1
  • First release: Oct 21, 2015
  • Latest release: Nov 19, 2015
  • Number of updates: 4
  • Update frequency: every 7.5 days
  • Top authors: rodtech (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /950 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.19ms] Passed 4 tests

A check of server-side resources used by MM LinkedIn Connection
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.55 ▼10.99
Dashboard /wp-admin3.32 ▲0.0245.35 ▼3.57
Posts /wp-admin/edit.php3.37 ▲0.0247.21 ▲5.10
Add New Post /wp-admin/post-new.php5.90 ▲0.0297.36 ▲4.66
Media Library /wp-admin/upload.php3.25 ▲0.0235.38 ▲1.15

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for MM LinkedIn Connection
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.18 ▼1.171.89 ▼0.1540.22 ▼12.51
Dashboard /wp-admin2,206 ▲185.92 ▲1.01105.86 ▼22.6238.63 ▼15.69
Posts /wp-admin/edit.php2,089 ▲32.03 ▲0.0141.14 ▲5.7833.51 ▼2.46
Add New Post /wp-admin/post-new.php1,537 ▲1818.11 ▼5.33596.31 ▲10.4351.92 ▼0.44
Media Library /wp-admin/upload.php1,382 ▼34.18 ▼0.0296.44 ▼9.6942.87 ▼2.41

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

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 add_action() in wp-content/plugins/mm-linkedin-connect/mm-linkedin-connect.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: linkedin connect, linkedin, linkedin signup, social login, signup

mm-linkedin-connect/mm-linkedin-connect.php 92% from 13 tests

The main PHP script in "MM LinkedIn Connection" version 1... is automatically included on every request by WordPress
It is important to fix the following:
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "1...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin255 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1439255

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.36
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%
Functions17
▷ Named functions17100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin