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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼445.13ms] Passed 4 tests
Server-side resources used by NextGEN Scroll Gallery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.01 ▲0.29 | 36.37 ▲16.09 |
Dashboard /wp-admin | 3.25 ▲0.20 | 46.56 ▼6.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.26 | 46.90 ▲2.71 |
Add New Post /wp-admin/post-new.php | 5.61 ▲0.18 | 96.38 ▼1,782.06 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 44.57 ▲5.44 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 1 new option
New WordPress options |
---|
SG_Options |
Browser metrics Passed 4 tests
An overview of browser requirements for NextGEN Scroll Gallery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,741 ▲145 | 17.92 ▲2.38 | 21.30 ▲9.37 | 45.74 ▼2.51 |
Dashboard /wp-admin | 3,007 ▲76 | 6.99 ▲0.99 | 162.39 ▲6.54 | 105.81 ▼10.06 |
Posts /wp-admin/edit.php | 2,776 ▲37 | 3.15 ▲0.45 | 74.46 ▲9.60 | 91.40 ▲9.37 |
Add New Post /wp-admin/post-new.php | 1,642 ▼30 | 22.66 ▲3.88 | 310.68 ▼139.98 | 141.88 ▲35.56 |
Media Library /wp-admin/upload.php | 1,844 ▲37 | 5.83 ▲0.78 | 173.64 ▲27.86 | 123.42 ▼5.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/nextgen-scrollgallery/nggScrollGallery.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (27 tag instead of maximum 10)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== nextgen-scrollgallery ===
) - Screenshots: These screenshots require images: #1 (Screenshot NextGen Scroll Gallery Example - Design Photobook), #2 (Screenshot NextGen Scroll Gallery Example - Design Shadow), #3 (Screenshot NextGen Scroll Gallery Example - Design Shadow - portrait mode), #4 (Screenshot NextGen Scroll Gallery Example), #5 (Screenshot NextGen Scroll Gallery Example), #6 (Screenshot NextGen Scroll Gallery Example - Admin interface)
nextgen-scrollgallery/nggScrollGallery.php 85% from 13 tests
"NextGEN Scroll Gallery" version 1.8.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nextgen-scrollgallery.php" instead of "nggScrollGallery.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 189 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,699 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 95 | 107 | 779 |
PHP | 1 | 74 | 51 | 659 |
CSS | 6 | 42 | 80 | 261 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 156.00 |
▷ Minimum class complexity | 156.00 |
▷ Maximum class complexity | 156.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.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 | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin