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
Installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼20.88ms] Passed 4 tests
An overview of server-side resources used by wp custom lists
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.70 ▼3.69 |
Dashboard /wp-admin | 3.39 ▲0.05 | 44.89 ▼17.47 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 46.36 ▲0.97 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 35.81 ▼63.27 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.20 ▲0.90 |
Lists /wp-admin/admin.php?page=custom-list | 3.33 | 32.79 |
New list /wp-admin/admin.php?page=list-new | 3.29 | 32.12 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by wp custom lists
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲111 | 13.23 ▼1.42 | 1.87 ▲0.04 | 38.67 ▼3.11 |
Dashboard /wp-admin | 2,238 ▲59 | 4.90 ▼0.96 | 106.90 ▼9.67 | 35.70 ▼9.34 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.04 ▲0.03 | 39.97 ▲1.81 | 34.61 ▼6.51 |
Add New Post /wp-admin/post-new.php | 1,542 ▼4 | 23.48 ▲5.16 | 604.31 ▼44.87 | 60.49 ▼0.24 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.28 ▲0.04 | 95.07 ▼3.25 | 42.02 ▼4.30 |
Lists /wp-admin/admin.php?page=custom-list | 919 | 1.84 | 25.53 | 26.17 |
New list /wp-admin/admin.php?page=list-new | 822 | 1.71 | 24.67 | 28.35 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (settings), #2 (lists), #3 (shortcode)
wp-custom-lists/lists.php 92% from 13 tests
The main file in "wp custom lists" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-custom-lists.php" instead of "lists.php")
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
Good job! No executable or dangerous file extensions detected685 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 288 | 233 | 506 |
PO File | 1 | 40 | 50 | 100 |
JavaScript | 2 | 29 | 5 | 74 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 4.02KB | 2.75KB | ▼ 31.69% |
screenshot-2.png | 10.97KB | 5.91KB | ▼ 46.11% |
screenshot-1.png | 11.13KB | 5.92KB | ▼ 46.77% |