94% wp-integration

Code Review | WP Integration

WordPress plugin WP Integration scored 94% from 54 tests.

About plugin

  • Plugin page: wp-integration
  • Plugin version: 1.6.00
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-5.0
  • WordPress version: 5.9.2
  • First release: Mar 27, 2015
  • Latest release: Dec 23, 2018
  • Number of updates: 117
  • Update frequency: every 11.7 days
  • Top authors: inveo (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active / 3,872 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

A check of server-side resources used by WP Integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.68 ▲0.1656.65 ▲7.01
Dashboard /wp-admin3.52 ▲0.1135.34 ▲1.75
Posts /wp-admin/edit.php3.75 ▲0.1140.58 ▲3.32
Add New Post /wp-admin/post-new.php6.99 ▲0.0192.26 ▼1,184.65
Media Library /wp-admin/upload.php3.40 ▲0.1026.13 ▲2.17
WP Integration /wp-admin/options-general.php?page=wpcon_plugin3.3824.17

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options
wpcon_options

Browser metrics Passed 4 tests

An overview of browser requirements for WP Integration
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,786 ▲4215.67 ▼0.025.78 ▼0.522.93 ▲0.47
Dashboard /wp-admin2,883 ▲226.14 ▲0.00117.57 ▼18.39159.32 ▼6.30
Posts /wp-admin/edit.php2,696 ▲23.25 ▲0.0063.06 ▼0.43137.59 ▼3.11
Add New Post /wp-admin/post-new.php1,761 ▲10621.34 ▲1.10464.27 ▲14.34155.94 ▼4.29
Media Library /wp-admin/upload.php1,697 ▼15.51 ▼0.01150.94 ▲16.00200.95 ▲14.24
WP Integration /wp-admin/options-general.php?page=wpcon_plugin1,3852.6853.93124.99

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/wp-integration/wp-integration.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: You are using too many tags: 14 tag instead of maximum 10
Please take inspiration from this readme.txt

wp-integration/wp-integration.php Passed 13 tests

This is the main PHP file of "WP Integration" version 1.6.00, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Integrates Wordpress to any application with just one simple click.

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

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity11.00
▷ Minimum class complexity6.00
▷ Maximum class complexity21.00
Average method complexity1.98
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods41
▷ Static methods41100.00%
▷ Public methods3687.80%
▷ Protected methods00.00%
▷ Private methods512.20%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants777.78%
▷ Class constants222.22%
▷ Public constants2100.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