84% order-tracking-for-skroutz

Code Review | Order Tracking for Skroutz

WordPress plugin Order Tracking for Skroutz scored84%from 54 tests.

About plugin

  • Plugin page: order-tracking-fo...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.7
  • WordPress version: 6.3.1
  • First release: Mar 24, 2021
  • Latest release: Mar 24, 2021
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: frontseries (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /701 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.39MB] [CPU: ▼20.14ms] Passed 4 tests

Analyzing server-side resources used by Order Tracking for Skroutz
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.66 ▼4.60
Dashboard /wp-admin3.22 ▼0.0936.01 ▼13.39
Posts /wp-admin/edit.php3.15 ▼0.2129.23 ▼18.54
Add New Post /wp-admin/post-new.php4.61 ▼1.2751.52 ▼43.12
Media Library /wp-admin/upload.php3.25 ▲0.0234.25 ▼5.49

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Order Tracking for Skroutz
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.60 ▼0.781.62 ▼0.2636.91 ▼8.23
Dashboard /wp-admin2,203 ▲185.82 ▼0.08101.63 ▲2.6941.47 ▼0.81
Posts /wp-admin/edit.php2,092 ▲31.99 ▼0.0339.41 ▼1.5136.34 ▲1.30
Add New Post /wp-admin/post-new.php1,542 ▲918.18 ▼5.12645.08 ▲25.6350.84 ▼2.30
Media Library /wp-admin/upload.php1,391 ▲34.14 ▼0.0697.85 ▼3.4542.79 ▼0.41

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

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× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/order-tracking-for-skroutz/order-tracking-for-skroutz.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: orders, skroutz, tracking, woocommerce

order-tracking-for-skroutz/order-tracking-for-skroutz.php Passed 13 tests

The main file in "Order Tracking for Skroutz" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
Track your WooCommerce Orders that Coming from Skroutz

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 plugin76 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1383976

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.64
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/skroutzsc.png2.06KB0.77KB▼ 62.83%
assets/img/header_image.png4.80KB2.53KB▼ 47.37%
assets/img/skroutzsc_orange.png2.26KB0.77KB▼ 66.12%