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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.77ms] Passed 4 tests
Analyzing server-side resources used by Simple File List Media
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.32 ▼1.38 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.19 ▼3.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.26 ▼4.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.82 ▼10.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.83 ▲8.76 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple File List Media
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.59 ▼0.60 | 1.71 ▼0.07 | 38.84 ▼8.57 |
Dashboard /wp-admin | 2,209 ▲17 | 5.84 ▲0.94 | 97.95 ▼8.38 | 39.75 ▼4.06 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.03 | 33.88 ▼4.35 | 36.10 ▲5.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.21 ▼0.12 | 675.27 ▼27.61 | 55.55 ▼4.87 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.21 ▲0.01 | 93.83 ▼19.04 | 40.69 ▼7.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: file sharing, audio player, file list, video player
ee-simple-file-list-media/ee-simple-file-list-media.php Passed 13 tests
The entry point to "Simple File List Media" version 2.0.2 is a PHP file that has certain tags in its header comment area
54 characters long description:
Adds audio and video media players to Simple File List
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
There were no executable files found in this plugin890 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 182 | 195 | 624 |
PHP | 3 | 96 | 38 | 147 |
JavaScript | 1 | 64 | 16 | 73 |
CSS | 1 | 5 | 3 | 46 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 3.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin