Benchmarks
Plugin footprint 65% from 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 gracefully, with no errors
Server metrics [RAM: ▼1.96MB] [CPU: ▼48.59ms] Passed 4 tests
A check of server-side resources used by WPapptouch
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.60 ▼37.06 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.27 ▼39.95 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.64 ▼36.56 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.75 ▼80.78 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.70 ▼26.47 |
WP-Apptouch Theme Config /wp-admin/plugins.php?page=wp_apptouch | 2.05 | 7.34 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- Illegal file modification detected: 3 files (99.59KB) outside of "wp-content/plugins/wpapptouch/" and "wp-content/uploads/"
- (new file) wp-content/themes/wp_apptouch/style.css
- (new file) wp-content/themes/wp_apptouch/index.php
- (new file) wp-content/themes/wp_apptouch/screenshot-1.jpg
Filesystem: 35 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wapt_user_agents |
can_compress_scripts |
wapt_current_version |
widget_recent-posts |
db_upgraded |
mpsd_current_version |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPapptouch
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.10 | 1.66 ▼0.35 | 42.04 ▼1.02 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.19 | 99.80 ▼15.01 | 38.28 ▼5.56 |
Posts /wp-admin/edit.php | 2,093 ▲25 | 2.03 ▲0.01 | 39.57 ▲6.31 | 33.66 ▲0.12 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.47 ▲0.10 | 595.27 ▼9.86 | 64.02 ▲7.91 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.41 ▲0.24 | 95.12 ▼8.68 | 42.53 ▼0.64 |
WP-Apptouch Theme Config /wp-admin/plugins.php?page=wp_apptouch | 835 | 2.03 | 24.34 | 26.70 |
Uninstaller [IO: ▲0.10MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_themes is deprecated since version 3.4.0! Use wp_get_themes() instead.
- Zombie WordPress options were found after uninstall: 9 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- mpsd_current_version
- widget_theysaidso_widget
- wapt_user_agents
- wapt_current_version
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 83 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=wp_apptouch
- > User deprecated in wp-includes/functions.php+5453
Function get_themes is deprecated since version 3.4.0! Use wp_get_themes() instead.
SRP 0% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/wpapptouch/get_category.php
- > /wp-content/plugins/wpapptouch/get_post.php
- > /wp-content/plugins/wpapptouch/get_single.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpapptouch/wp_apptouch.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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: These screenshots do not have images: #1 (WPapptouch - Home page, Post and Search page.), #2 (WPapptouch - Categories.), #3 (WPapptouch - Single, Page.), #4 (WPapptouch - iPhone Native app look and feel.)
wpapptouch/wp_apptouch.php 92% from 13 tests
The entry point to "WPapptouch" version 0.8.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wpapptouch.php" instead of "wp_apptouch.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,518 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 1 | 176 | 16 | 586 |
PHP | 5 | 119 | 82 | 394 |
CSS | 5 | 61 | 88 | 282 |
JavaScript | 9 | 47 | 20 | 256 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/UIBackPressed.png | 0.91KB | 1.06KB | 0.00% |
img/iPhoneIcon_Small.png | 6.62KB | 3.28KB | ▼ 50.43% |
img/istartup.png | 43.02KB | 40.72KB | ▼ 5.35% |
img/iPhoneIcon_Big.png | 23.00KB | 8.43KB | ▼ 63.34% |
img/UIBack.png | 0.92KB | 1.06KB | 0.00% |