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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼2.69ms] Passed 4 tests
An overview of server-side resources used by Simple File List
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 45.18 ▲5.12 |
Dashboard /wp-admin | 3.81 ▲0.47 | 49.59 ▼13.20 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 51.18 ▲2.51 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 97.25 ▼3.19 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 37.19 ▲3.11 |
Server storage [IO: ▲4.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 123 new files
Database: no new tables, 9 new options
New WordPress options |
---|
eeSFL_FileList_1 |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
eeSFL_Settings_1 |
widget_recent-posts |
eeSFL_BASE_Version |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple File List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲197 | 13.54 ▼0.43 | 9.39 ▲7.79 | 44.94 ▲0.38 |
Dashboard /wp-admin | 2,214 ▲43 | 5.58 ▲0.01 | 91.04 ▲4.44 | 42.92 ▲7.41 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.94 ▼0.08 | 38.62 ▼2.67 | 36.92 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.27 ▼2.00 | 592.73 ▼50.71 | 47.22 ▼13.87 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.17 ▼0.07 | 100.00 ▲0.19 | 46.11 ▲2.31 |
Uninstaller [IO: ▲2.17MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- eeSFL_FileList_1
- eeSFL_Settings_1
- eeSFL_BASE_Version
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/simple-file-list/includes/ee-plugin-author.php
- > /wp-content/plugins/simple-file-list/includes/ee-get-pro.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% 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
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #4, #5, #6, #7, #8 in simple-file-list/assets to your readme.txt
- Requires php: Invalid version format
simple-file-list/ee-simple-file-list.php 85% from 13 tests
"Simple File List" version 6.1.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-file-list.php" instead of "ee-simple-file-list.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin16,339 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 7,119 | 12,285 | 10,895 |
PHP | 19 | 2,228 | 488 | 3,664 |
CSS | 9 | 225 | 110 | 1,285 |
JavaScript | 5 | 311 | 61 | 433 |
HTML | 2 | 0 | 0 | 39 |
SVG | 20 | 0 | 0 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 170.00 |
▷ Minimum class complexity | 97.00 |
▷ Maximum class complexity | 243.00 |
Average method complexity | 12.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.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 | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.33% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.27MB with 0.18MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-128x128.png | 4.59KB | 3.03KB | ▼ 34.11% |
images/icon-256x256.png | 273.72KB | 4.50KB | ▼ 98.35% |