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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 61.19 ▲7.76 |
Dashboard /wp-admin | 3.41 ▲0.01 | 37.47 ▼31.30 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 42.05 ▼10.38 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.09 | 97.09 ▼1,185.53 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 29.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.16 ▲0.54 | 5.50 ▼0.18 | 2.26 ▼0.58 |
Dashboard /wp-admin | 2,905 ▲48 | 6.16 ▲0.07 | 162.42 ▲41.75 | 153.95 ▼9.88 |
Posts /wp-admin/edit.php | 2,691 ▲3 | 3.22 ▼0.01 | 63.77 ▼10.90 | 181.15 ▲41.11 |
Add New Post /wp-admin/post-new.php | 1,752 ▲97 | 21.33 ▲0.68 | 438.57 ▲18.18 | 195.64 ▲37.36 |
Media Library /wp-admin/upload.php | 1,694 ▼1 | 5.52 ▼0.03 | 146.93 ▲11.95 | 201.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 455 | 270 | 903 |
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 code | 0.33 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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