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.13MB] [CPU: ▼6.14ms] Passed 4 tests
An overview of server-side resources used by Archive Remote Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 34.48 ▼2.11 |
Dashboard /wp-admin | 3.45 ▲0.14 | 44.35 ▼3.12 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 47.28 ▼0.57 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.61 ▼18.77 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.58 ▲0.64 |
Archive Remote Images /wp-admin/options-general.php?page=ari-admin | 3.32 | 29.12 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
_ari_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
_ari_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Archive Remote Images
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.07 ▼0.11 | 1.72 ▲0.02 | 39.45 ▲0.31 |
Dashboard /wp-admin | 2,193 ▲19 | 5.55 ▼0.04 | 82.83 ▼1.92 | 36.43 ▼2.99 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.04 | 40.67 ▲3.13 | 36.60 ▲6.20 |
Add New Post /wp-admin/post-new.php | 6,231 ▲4,696 | 25.91 ▲7.55 | 917.15 ▲289.76 | 73.18 ▲5.28 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.03 | 103.00 ▼6.72 | 44.77 ▼0.80 |
Archive Remote Images /wp-admin/options-general.php?page=ari-admin | 1,015 | 2.03 | 22.40 | 28.70 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- _ari_db_version
- widget_recent-comments
- _ari_options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=ari-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ari-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/archive-remote-images/archive-remote-images.php:708
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots require images: #1 (Metabox shown in the editor), #2 (Settings page)
archive-remote-images/archive-remote-images.php 85% from 13 tests
The main file in "Archive Remote Images" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected735 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 292 | 194 | 735 |
JavaScript | 1 | 2 | 3 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 56 | 98.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.75% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.03MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 7.34KB | 6.50KB | ▼ 11.44% |
screenshot-2.png | 21.93KB | 20.46KB | ▼ 6.70% |