Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.15ms] Passed 4 tests
Server-side resources used by NextGEN to WiziApp - Integrate image galleries & albums to your WiziApp powered iPhone App
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.80 ▼1.12 |
Dashboard /wp-admin | 3.37 ▲0.02 | 51.57 ▼14.01 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.96 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.72 ▼12.24 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.21 ▼3.82 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
NextGEN to WiziApp - Integrate image galleries & albums to your WiziApp powered iPhone App: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.24 ▼0.15 | 1.83 ▲0.11 | 45.35 ▲5.46 |
Dashboard /wp-admin | 2,195 ▲21 | 5.48 ▼0.10 | 98.69 ▲11.17 | 42.78 ▲1.92 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.98 ▲0.00 | 39.04 ▲0.97 | 35.69 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.82 ▼0.26 | 628.54 ▼31.37 | 54.32 ▼1.93 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.15 ▼0.03 | 98.49 ▼8.40 | 43.35 ▼4.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/nextgen-to-wiziapp/views/activation_notice.php
- > /wp-content/plugins/nextgen-to-wiziapp/views/styles_javascripts.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/nextgen-to-wiziapp/nextgen_to_wiziapp.php:339
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Nextgen to Wiziapp plugin)
nextgen-to-wiziapp/nextgen_to_wiziapp.php 85% from 13 tests
"NextGEN to WiziApp - Integrate image galleries & albums to your WiziApp powered iPhone App" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nextgen-to-wiziapp.php" instead of "nextgen_to_wiziapp.php")
- Plugin Name: A shorter plugin name is better (currently 90 characters long instead of max. 70)
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 detected423 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 51 | 36 | 318 |
JavaScript | 1 | 7 | 0 | 65 |
CSS | 1 | 6 | 0 | 40 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 56.00 |
▷ Minimum class complexity | 56.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.37MB with 0.25MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 374.97KB | 123.62KB | ▼ 67.03% |