Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/remote-image-gallery-import/image-leech.php+350
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.85MB] [CPU: ▼53.53ms] Passed 4 tests
This is a short check of server-side resources used by Image Gallery Import
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 8.62 ▼32.22 |
Dashboard /wp-admin | 2.16 ▼1.15 | 6.85 ▼41.64 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.00 ▼42.26 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 8.26 ▼97.98 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.90 ▼30.16 |
Import Gallery /wp-admin/upload.php?page=remote-image-gallery-import/image-leech.php | 2.16 | 6.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Image Gallery Import
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.33 ▼0.02 | 1.97 ▲0.05 | 41.77 ▼2.08 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▼0.01 | 98.35 ▲9.20 | 44.93 ▲3.48 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.04 | 38.90 ▼1.38 | 35.03 ▼5.03 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.17 ▲0.13 | 672.79 ▲37.00 | 68.88 ▲4.24 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▲0.01 | 107.96 ▲7.98 | 46.61 ▲2.81 |
Import Gallery /wp-admin/upload.php?page=remote-image-gallery-import/image-leech.php | 973 | 2.16 | 28.69 | 27.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/remote-image-gallery-import/image-leech.php+350
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/upload.php?page=remote-image-gallery-import/image-leech.php
- > Deprecated in wp-content/plugins/remote-image-gallery-import/image-leech.php+350
Array and string offset access syntax with curly braces is deprecated
- > GET request to /wp-admin/upload.php?page=remote-image-gallery-import/image-leech.php
- > User deprecated in wp-includes/functions.php+5643
File admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/upload.php?page=remote-image-gallery-import/image-leech.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/remote-image-gallery-import/image-leech.php on line 11
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/remote-image-gallery-import/image-leech.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/remote-image-gallery-import/image-leech.php on line 11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== remote-image-gallery-import ===
)
remote-image-gallery-import/image-leech.php 85% from 13 tests
The primary PHP file in "Image Gallery Import" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 431 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("remote-image-gallery-import.php" instead of "image-leech.php")
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
There were no executable files found in this plugin411 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 169 | 34 | 411 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected