Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.78ms] Passed 4 tests
Analyzing server-side resources used by Upload and Update List of Files
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.08 ▼1.28 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.64 ▲1.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.27 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.34 ▼3.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.73 ▲3.50 |
Iran Alves - Upload and Update List of Files /wp-admin/edit.php?post_type=page&page=upload_update_list_files | 3.28 | 32.41 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Upload and Update List of Files
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.20 ▼1.19 | 4.37 ▲2.36 | 39.59 ▼11.11 |
Dashboard /wp-admin | 2,214 ▲28 | 4.89 ▼0.12 | 106.99 ▼11.72 | 41.93 ▼4.54 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.01 | 37.13 ▼0.23 | 34.67 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 23.37 ▲0.06 | 598.67 ▼92.97 | 44.31 ▼9.61 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.24 ▼0.04 | 101.56 ▲3.29 | 43.40 ▼0.81 |
Iran Alves - Upload and Update List of Files /wp-admin/edit.php?post_type=page&page=upload_update_list_files | 855 | 2.07 | 26.97 | 36.84 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/iran-alves-upload-and-update-list-of-files/iran-alves-upload-and-update-list-of-files.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'IAUULF' not found in wp-content/plugins/iran-alves-upload-and-update-list-of-files/includes/templates/dashboard.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 24 tag instead of maximum 10
- Requires php: Version not formatted correctly
iran-alves-upload-and-update-list-of-files/iran-alves-upload-and-update-list-of-files.php Passed 13 tests
The primary PHP file in "Upload and Update List of Files" version 0.1 is used by WordPress to initiate all plugin functionality
50 characters long description:
Generate files list for download or other purposes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin392 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 149 | 122 | 369 |
JavaScript | 1 | 4 | 2 | 19 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 85.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 15.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin