89% anteraja

Code Review | Anteraja Integrated Shipping Plugin for WooCommerce

WordPress plugin Anteraja Integrated Shipping Plugin for WooCommerce scored 89% from 54 tests.

About plugin

  • Plugin page: anteraja
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: May 4, 2021
  • Latest release: Jun 28, 2023
  • Number of updates: 45
  • Update frequency: every 17.4 days
  • Top authors: epeken (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 2,474 total downloads


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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼10.55ms] Passed 4 tests

This is a short check of server-side resources used by Anteraja Integrated Shipping Plugin for WooCommerce
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0136.63 ▼5.95
Dashboard /wp-admin3.31 ▲0.0144.78 ▼6.33
Posts /wp-admin/edit.php3.36 ▲0.0041.96 ▼8.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.00 ▼21.09
Media Library /wp-admin/upload.php3.23 ▲0.0035.11 ▲0.44

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Anteraja Integrated Shipping Plugin for WooCommerce
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲10314.48 ▲0.101.94 ▲0.0940.66 ▼0.92
Dashboard /wp-admin2,222 ▲506.07 ▲1.1696.94 ▼14.9140.31 ▼3.11
Posts /wp-admin/edit.php2,101 ▲92.03 ▼0.0237.33 ▼5.3034.35 ▼3.95
Add New Post /wp-admin/post-new.php1,527 ▼617.78 ▼5.55643.56 ▲1.8047.30 ▼4.42
Media Library /wp-admin/upload.php1,398 ▲134.24 ▼0.00100.68 ▲0.9442.06 ▼3.15

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

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
The smoke test was a success, however most plugin functionality was not tested

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 shallow check for browser errors
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • License uri: Please fix this invalid URI: ""
The official readme.txt is a good inspiration

anteraja/epeken-anteraja.php 92% from 13 tests

Analyzing the main PHP file in "Anteraja Integrated Shipping Plugin for WooCommerce" version 2.0
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("anteraja.php" instead of "epeken-anteraja.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin9,167 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity56.00
▷ Minimum class complexity56.00
▷ Maximum class complexity56.00
Average method complexity3.32
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions4097.56%
▷ Anonymous functions12.44%
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin