Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.94ms] Passed 4 tests
A check of server-side resources used by WP Attachment Export
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.02 ▼15.53 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.26 ▼12.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.72 ▼7.96 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.86 ▼12.24 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.43 ▲3.31 |
Attachment Export /wp-admin/tools.php?page=wp-attachment-export | 3.22 | 31.24 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Attachment Export
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.55 ▼1.10 | 1.99 ▼1.56 | 50.01 ▼13.34 |
Dashboard /wp-admin | 2,210 ▲25 | 5.87 ▲0.99 | 120.23 ▼1.56 | 48.38 ▼6.54 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.01 | 35.08 ▼11.95 | 31.30 ▼6.61 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.47 ▼0.10 | 676.21 ▼31.08 | 51.82 ▼10.58 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.28 ▲0.11 | 107.13 ▲5.08 | 47.85 ▲3.65 |
Attachment Export /wp-admin/tools.php?page=wp-attachment-export | 881 | 2.03 | 22.53 | 31.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-attachment-export/wp-attachment-export.php:22
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: images, media, image, export, admin...
wp-attachment-export/wp-attachment-export.php Passed 13 tests
The main PHP script in "WP Attachment Export" version 0.3.3 is automatically included on every request by WordPress
64 characters long description:
Exports only posts of type 'attachment', i.e. your media library
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 plugin284 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 32 | 34 | 131 |
PHP | 1 | 13 | 47 | 99 |
Markdown | 1 | 32 | 0 | 54 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin