84% digiseller

Code Review | Digiseller

WordPress plugin Digiseller scored84%from 54 tests.

About plugin

  • Plugin page: digiseller
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.8
  • WordPress version: 6.3.1
  • First release: Oct 15, 2015
  • Latest release: Aug 23, 2021
  • Number of updates: 17
  • Update frequency: every 125.8 days
  • Top authors: digiseller (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /5,275 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.06MB] [CPU: ▼6.95ms] Passed 4 tests

Analyzing server-side resources used by Digiseller
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0537.33 ▼10.72
Dashboard /wp-admin3.37 ▲0.0648.54 ▼13.34
Posts /wp-admin/edit.php3.42 ▲0.0650.06 ▼1.25
Add New Post /wp-admin/post-new.php5.95 ▲0.0699.98 ▼2.49
Media Library /wp-admin/upload.php3.29 ▲0.0640.52 ▲5.04
Digiseller /wp-admin/options-general.php?page=digiseller_settings3.2734.01

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

Digiseller: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.29 ▼1.461.87 ▼0.0840.19 ▼7.45
Dashboard /wp-admin2,210 ▲255.83 ▼0.05115.52 ▲11.3744.99 ▲3.89
Posts /wp-admin/edit.php2,093 ▲42.04 ▼0.1434.73 ▼5.7930.88 ▼5.17
Add New Post /wp-admin/post-new.php1,536 ▲323.20 ▼0.20679.06 ▼4.9560.06 ▼0.57
Media Library /wp-admin/upload.php1,395 ▲104.25 ▲0.03105.09 ▼10.0940.26 ▼7.44
Digiseller /wp-admin/options-general.php?page=digiseller_settings9022.0325.6829.44

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/digiseller/digiseller.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
4 plugin tags: digiseller, shop, commerce, sell

digiseller/digiseller.php Passed 13 tests

The principal PHP file in "Digiseller" v. 1.2.0 is loaded by WordPress automatically on each request
59 characters long description:
Easy integration of http://digiseller.ru into your website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin286 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP16717233
PO File1202553

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions19
▷ Named functions19100.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