Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/shopp-mobile-notifications/shopp-mobile-notifications.php+46
Accessing static property Shopp_MobileNotifications::$from as non static
Server metrics [RAM: ▼1.80MB] [CPU: ▼190.10ms] Passed 4 tests
Server-side resources used by Shopp + Mobile Notifications
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.83 ▼0.89 | 7.50 ▼17.06 |
Dashboard /wp-admin | 1.85 ▼1.21 | 9.12 ▼36.51 |
Posts /wp-admin/edit.php | 1.85 ▼1.26 | 6.08 ▼45.49 |
Add New Post /wp-admin/post-new.php | 1.85 ▼3.58 | 6.65 ▼649.47 |
Media Library /wp-admin/upload.php | 1.85 ▼1.15 | 5.75 ▼28.93 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Shopp + Mobile Notifications
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲109 | 16.22 ▲0.29 | 9.07 ▲0.35 | 53.92 ▲3.62 |
Dashboard /wp-admin | 2,975 ▲44 | 6.02 ▲0.09 | 147.14 ▼3.27 | 116.36 ▼11.84 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.68 ▼0.01 | 71.31 ▼0.24 | 100.44 ▲14.31 |
Add New Post /wp-admin/post-new.php | 1,500 ▼183 | 18.80 ▲0.11 | 392.00 ▲6.33 | 111.43 ▼3.29 |
Media Library /wp-admin/upload.php | 1,809 ▲2 | 5.00 ▼0.03 | 151.87 ▼6.67 | 127.43 ▲7.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/shopp-mobile-notifications/shopp-mobile-notifications.php+46
Accessing static property Shopp_MobileNotifications::$from as non static
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/shopp-mobile-notifications/shopp-mobile-notifications.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (The Shopp + Mobile Notifications WordPress admin page.2. An additional view of the Shopp + Mobile Notifications WordPress admin page.3. Shopp + Mobile Notifications iPhone 4S demo.) image not found
shopp-mobile-notifications/shopp-mobile-notifications.php Passed 13 tests
"Shopp + Mobile Notifications" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
115 characters long description:
Merchants who have a WordPress ecommerce store are notified of new orders via a text message to their mobile phone.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin339 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 55 | 326 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.41MB with 0.27MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 120.84KB | 41.22KB | ▼ 65.89% |
screenshot-1.png | 169.34KB | 60.69KB | ▼ 64.16% |
screenshot-3.png | 130.82KB | 42.26KB | ▼ 67.70% |