100% woomobile

Code Review | WooMobile

WordPress plugin WooMobile scored 100% from 54 tests.

About plugin

  • Plugin page: woomobile
  • Plugin version: 1.2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.0
  • WordPress version: 5.9.2
  • First release: Jul 19, 2013
  • Latest release: Sep 11, 2014
  • Number of updates: 17
  • Update frequency: every 25.2 days
  • Top authors: sudosystems (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active / 9,690 total downloads

Benchmarks

Plugin footprint Passed 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.02MB] [CPU: ▼307.11ms] Passed 4 tests

An overview of server-side resources used by WooMobile
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0161.19 ▲7.76
Dashboard /wp-admin3.41 ▲0.0137.47 ▼31.30
Posts /wp-admin/edit.php3.65 ▲0.0142.05 ▼10.38
Add New Post /wp-admin/post-new.php6.89 ▼0.0997.09 ▼1,185.53
Media Library /wp-admin/upload.php3.30 ▲0.0029.38 ▼1.23

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

WooMobile: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲916.16 ▲0.545.50 ▼0.182.26 ▼0.58
Dashboard /wp-admin2,905 ▲486.16 ▲0.07162.42 ▲41.75153.95 ▼9.88
Posts /wp-admin/edit.php2,691 ▲33.22 ▼0.0163.77 ▼10.90181.15 ▲41.11
Add New Post /wp-admin/post-new.php1,752 ▲9721.33 ▲0.68438.57 ▲18.18195.64 ▲37.36
Media Library /wp-admin/upload.php1,694 ▼15.52 ▼0.03146.93 ▲11.95201.35 ▲14.00

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully

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

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

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
5 plugin tags: iphone, ios, shop, ecommerce, woocommerce

woomobile/woomobile.php Passed 13 tests

The main PHP file in "WooMobile" ver. 1.2.4 adds more information about the plugin and also serves as the entry point for this plugin
94 characters long description:
WooMobile enables you to access your WooCommerce store on the go using the WooMoble iPhone App

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected903 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP4455270903

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity36.00
▷ Minimum class complexity9.00
▷ Maximum class complexity60.00
Average method complexity3.59
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods54
▷ Static methods00.00%
▷ Public methods54100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected