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.61MB] [CPU: ▼12.74ms] Passed 4 tests
This is a short check of server-side resources used by appful Mobile App Plugin [OLD - NEW VERSION BELOW]
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.06 ▼6.12 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.32 ▼3.08 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 55.33 ▲7.58 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.67 | 34.50 ▼49.08 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.73 ▲7.31 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
appful_been_installed |
appful_ssl_available |
appful_last_ssl_check |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_appful |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for appful Mobile App Plugin [OLD - NEW VERSION BELOW]
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲45 | 13.17 ▼1.05 | 3.93 ▲1.85 | 37.26 ▼11.47 |
Dashboard /wp-admin | 2,222 ▲37 | 4.82 ▼0.97 | 111.01 ▲7.40 | 41.85 ▲0.39 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.13 ▲0.09 | 39.54 ▲5.03 | 34.89 ▲1.87 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.23 ▲5.12 | 697.34 ▲83.60 | 46.57 ▼10.02 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.17 ▼0.06 | 94.90 ▼12.63 | 41.17 ▼3.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_recent-posts
- db_upgraded
- appful_last_ssl_check
- widget_recent-comments
- can_compress_scripts
- appful_been_installed
- appful_ssl_available
- theysaidso_admin_options
- widget_theysaidso_widget
- appful_ip
- ...
Smoke tests 50% from 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/appful/plugins/wp-polls.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/appful/singletons/taxonomy.php:129
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/appful/models/widget.php:3
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #6, #8 in appful/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
appful/appful.php 92% from 13 tests
The primary PHP file in "appful Mobile App Plugin [OLD - NEW VERSION BELOW]" version 1.1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 316 characters long)
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
Good job! No executable or dangerous file extensions detected4,917 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 875 | 495 | 4,439 |
CSS | 3 | 65 | 2 | 368 |
JavaScript | 1 | 21 | 22 | 72 |
SVG | 1 | 0 | 1 | 38 |
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 code | 0.50 |
Average class complexity | 39.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 317.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 196 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 189 | 96.43% |
▷ Protected methods | 7 | 3.57% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 23 | 79.31% |
▷ Anonymous functions | 6 | 20.69% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
4 PNG files occupy 0.27MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/background.png | 250.46KB | 128.68KB | ▼ 48.62% |
assets/img/app-store-button.png | 1.21KB | 1.29KB | 0.00% |
assets/img/appful-logo.png | 22.79KB | 9.78KB | ▼ 57.11% |
assets/img/play-store-button.png | 3.44KB | 2.39KB | ▼ 30.47% |