Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.31ms] Passed 4 tests
A check of server-side resources used by EXMAGE - WordPress Image Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.65 ▼0.14 |
Dashboard /wp-admin | 3.45 ▲0.15 | 51.67 ▲4.75 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.47 ▼0.10 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 91.37 ▼5.74 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.57 ▲7.76 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
exmage-wp-image-links_start_use |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EXMAGE - WordPress Image Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.20 ▼1.09 | 4.95 ▲3.05 | 42.84 ▲2.08 |
Dashboard /wp-admin | 2,226 ▲52 | 5.88 ▲0.04 | 112.30 ▲2.85 | 44.90 ▲3.26 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.06 ▲0.01 | 36.15 ▼4.86 | 34.08 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 17.43 ▼5.87 | 665.27 ▲68.74 | 50.86 ▼3.00 |
Media Library /wp-admin/upload.php | 1,454 ▲63 | 4.23 ▲0.04 | 107.80 ▲3.88 | 46.45 ▲2.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- exmage-wp-image-links_start_use
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: wordpress gallery with links, woocommerce product image external url, elementor image carousel link, wordpress gallery link, woocommerce...
exmage-wp-image-links/exmage-wp-image-links.php Passed 13 tests
"EXMAGE - WordPress Image Links" version 1.0.16's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
42 characters long description:
Save storage by using external image URLs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,698 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 315 | 620 | 2,186 |
CSS | 2 | 55 | 4 | 291 |
JavaScript | 2 | 5 | 18 | 221 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 46.86 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 4.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 3 | 42.86% |
▷ Concrete classes | 4 | 57.14% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 9 | 8.91% |
▷ Public methods | 69 | 68.32% |
▷ Protected methods | 23 | 22.77% |
▷ Private methods | 9 | 8.91% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 12 | |
▷ Global constants | 12 | 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 files were detected