90% my-auctions-allegro-marketplace

Code Review | My auctions allegro marketplace

WordPress plugin My auctions allegro marketplace scored90%from 54 tests.

About plugin

  • Plugin page: my-auctions-alleg...
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.9.2
  • WordPress version: 6.3.1
  • First release: Jun 26, 2019
  • Latest release: Apr 1, 2022
  • Number of updates: 4
  • Update frequency: every 252.5 days
  • Top authors: grojanteam (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,125 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

Server-side resources used by My auctions allegro marketplace
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.05 ▼0.03
Dashboard /wp-admin3.31 ▼0.0443.42 ▼16.38
Posts /wp-admin/edit.php3.36 ▲0.0047.86 ▼0.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.21 ▼10.45
Media Library /wp-admin/upload.php3.23 ▲0.0032.21 ▲1.69

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by My auctions allegro marketplace
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6814.22 ▼0.141.72 ▲0.0938.66 ▼2.36
Dashboard /wp-admin2,198 ▲215.55 ▼0.1189.10 ▲4.9841.25 ▼0.23
Posts /wp-admin/edit.php2,103 ▲31.96 ▼0.0538.99 ▲6.1236.22 ▲2.54
Add New Post /wp-admin/post-new.php1,526 ▼223.13 ▼0.06662.40 ▲9.5351.27 ▼2.53
Media Library /wp-admin/upload.php1,403 ▲34.17 ▲0.01102.28 ▲3.1944.28 ▲0.16

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

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
5 plugin tags: products, allegro, vendors, marketplace, woocommerce

my-auctions-allegro-marketplace/my-auctions-allegro-marketplace.php Passed 13 tests

Analyzing the main PHP file in "My auctions allegro marketplace" version 1.1.0
56 characters long description:
Plug-in give possibilities to import products for vendor

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
There were no executable files found in this plugin298 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17214298

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity29.00
▷ Minimum class complexity29.00
▷ Maximum class complexity29.00
Average method complexity2.22
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods23
▷ Static methods00.00%
▷ Public methods2191.30%
▷ Protected methods00.00%
▷ Private methods28.70%
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin