90% woo-marinsoftware-integration

Code Review | Woo Marinsoftware Integration

WordPress plugin Woo Marinsoftware Integration scored90%from 54 tests.

About plugin

  • Plugin page: woo-marinsoftware...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.7
  • WordPress version: 6.3.1
  • First release: Jan 24, 2017
  • Latest release: Jan 24, 2017
  • Number of updates: 3
  • Update frequency: every 2.3 days
  • Top authors: azharulhaque (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /391 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.52ms] Passed 4 tests

This is a short check of server-side resources used by Woo Marinsoftware Integration
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.25 ▼1.65
Dashboard /wp-admin3.32 ▲0.0147.98 ▼0.49
Posts /wp-admin/edit.php3.37 ▲0.0152.17 ▼3.21
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.37 ▼12.74
Media Library /wp-admin/upload.php3.24 ▲0.0139.08 ▲6.86

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Woo Marinsoftware Integration
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,781 ▲2014.21 ▼0.301.12 ▼0.4142.51 ▼1.32
Dashboard /wp-admin2,192 ▲155.57 ▼0.0383.21 ▼5.9240.60 ▼1.66
Posts /wp-admin/edit.php2,103 ▲31.97 ▼0.0640.61 ▲3.4837.28 ▲4.92
Add New Post /wp-admin/post-new.php1,526 ▼523.07 ▼0.16631.37 ▲5.1952.46 ▲1.28
Media Library /wp-admin/upload.php1,403 ▲34.33 ▲0.17102.50 ▼4.3642.65 ▼2.69

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

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
6 plugin tags: woocommerce, marinsoftware integration, woocommerce integration, marinsoftware woocommerce integration, marinsoftware...

woo-marinsoftware-integration/woo-marinsoftware-integration.php 92% from 13 tests

"Woo Marinsoftware Integration" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 272 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin79 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2223979

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.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