Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.27ms] Passed 4 tests
Server-side resources used by Export Media URLs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.40 ▼1.53 |
Dashboard /wp-admin | 3.39 ▲0.04 | 46.22 ▼10.16 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.91 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.05 ▼6.77 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.23 ▲4.69 |
Export Media URLs /wp-admin/tools.php?page=extract-media-urls-settings | 3.28 | 31.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Export Media URLs: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲74 | 14.57 ▲0.23 | 2.12 ▲0.51 | 38.29 ▼3.75 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▲0.09 | 89.02 ▼5.40 | 41.11 ▲0.09 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.08 ▲0.06 | 39.57 ▼1.42 | 38.96 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.15 ▼0.02 | 601.46 ▼31.33 | 57.17 ▲8.67 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.14 ▼0.09 | 98.32 ▼2.36 | 40.73 ▼5.33 |
Export Media URLs /wp-admin/tools.php?page=extract-media-urls-settings | 1,008 | 2.05 | 24.26 | 30.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Export_Media_URLs\\plugin_dir_path() in wp-content/plugins/export-media-urls/classes/class-export-media-urls-admin.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: extract media urls, csv, utilities, export media urls, media links...
export-media-urls/export-media-urls.php 92% from 13 tests
The main file in "Export Media URLs" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 247 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin565 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 140 | 37 | 406 |
CSS | 1 | 34 | 0 | 159 |
PHP code Passed 2 tests
This is a short overview 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.43 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 6.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 54.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 45.45% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 1 | 7.14% |
▷ Class constants | 13 | 92.86% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin