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.44MB] [CPU: ▼138.69ms] Passed 4 tests
Analyzing server-side resources used by Post Lists View Custom
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▲0.53 | 37.28 ▲14.27 |
Dashboard /wp-admin | 3.53 ▲0.47 | 51.45 ▲4.97 |
Posts /wp-admin/edit.php | 3.59 ▲0.48 | 58.23 ▲14.93 |
Add New Post /wp-admin/post-new.php | 5.83 ▲0.40 | 97.94 ▼568.76 |
Media Library /wp-admin/upload.php | 3.41 ▲0.40 | 34.98 ▼5.23 |
Post Lists View Custom /wp-admin/admin.php?page=post_lists_view_custom | 3.41 | 34.21 |
Custom Post Type /wp-admin/admin.php?page=plvc_custom_posts | 3.38 | 33.20 |
Available Widgets /wp-admin/admin.php?page=plvc_widgets | 3.39 | 34.32 |
All Posts /wp-admin/admin.php?page=plvc_post | 3.43 | 38.34 |
Comments /wp-admin/admin.php?page=plvc_comments | 3.43 | 33.70 |
Menus advanced properties /wp-admin/admin.php?page=plvc_menus_adv | 3.39 | 35.08 |
Users /wp-admin/admin.php?page=plvc_users | 3.43 | 34.20 |
Media Library /wp-admin/admin.php?page=plvc_media | 3.43 | 32.15 |
All Pages /wp-admin/admin.php?page=plvc_page | 3.43 | 31.48 |
Other Settings /wp-admin/admin.php?page=plvc_other | 3.42 | 34.86 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 2 new options
New WordPress options |
---|
plvc_regist_sortable_columns |
plvc_regist_columns |
Browser metrics Passed 4 tests
A check of browser resources used by Post Lists View Custom
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,782 ▲187 | 16.22 ▲0.71 | 12.41 ▲3.30 | 46.74 ▲2.99 |
Dashboard /wp-admin | 3,049 ▲115 | 5.92 ▼0.02 | 159.43 ▲10.35 | 117.05 ▲9.02 |
Posts /wp-admin/edit.php | 2,818 ▲79 | 2.71 ▼0.00 | 72.87 ▼0.49 | 85.88 ▲4.97 |
Add New Post /wp-admin/post-new.php | 1,664 ▼410 | 21.49 ▲5.40 | 289.90 ▼128.48 | 102.48 ▼8.41 |
Media Library /wp-admin/upload.php | 1,886 ▲79 | 5.05 ▲0.02 | 154.21 ▲2.01 | 117.94 ▼17.70 |
Post Lists View Custom /wp-admin/admin.php?page=post_lists_view_custom | 1,516 | 2.39 | 67.55 | 68.09 |
Custom Post Type /wp-admin/admin.php?page=plvc_custom_posts | 1,098 | 2.37 | 65.86 | 71.57 |
Available Widgets /wp-admin/admin.php?page=plvc_widgets | 1,514 | 2.39 | 59.33 | 79.98 |
All Posts /wp-admin/admin.php?page=plvc_post | 1,529 | 2.66 | 63.05 | 80.47 |
Comments /wp-admin/admin.php?page=plvc_comments | 1,163 | 2.39 | 56.10 | 68.77 |
Menus advanced properties /wp-admin/admin.php?page=plvc_menus_adv | 1,272 | 2.45 | 57.72 | 77.05 |
Users /wp-admin/admin.php?page=plvc_users | 1,160 | 2.38 | 54.21 | 71.88 |
Media Library /wp-admin/admin.php?page=plvc_media | 1,163 | 2.39 | 53.25 | 76.87 |
All Pages /wp-admin/admin.php?page=plvc_page | 1,163 | 2.38 | 55.27 | 76.87 |
Other Settings /wp-admin/admin.php?page=plvc_other | 1,678 | 2.38 | 56.07 | 86.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 2 options
- plvc_regist_sortable_columns
- plvc_regist_columns
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/post-lists-view-custom/inc/information.php on line 3
- > PHP Notice
Trying to get property 'ClassConfig' of non-object in wp-content/plugins/post-lists-view-custom/inc/setting.php on line 5
- > PHP Notice
Trying to get property 'ClassData' of non-object in wp-content/plugins/post-lists-view-custom/inc/setting_other.php on line 5
- > PHP Notice
Trying to get property 'ClassConfig' of non-object in wp-content/plugins/post-lists-view-custom/inc/setting_select_post.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/post-lists-view-custom/inc/information.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function get_data_others() on null in wp-content/plugins/post-lists-view-custom/inc/setting_other.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_all_custom_posts() on null in wp-content/plugins/post-lists-view-custom/inc/setting_select_post.php:5
- > PHP Notice
Trying to get property 'Plugin' of non-object in wp-content/plugins/post-lists-view-custom/inc/information.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/post-lists-view-custom/inc/setting_menu.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/post-lists-view-custom/inc/setting_post.php:5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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: Please add images for these screenshots: #1 (Settings Interface), #2 (Screen All Posts), #3 (Screen Media Library), #4 (Screen Navi Menus), #5 (Screen Widgets)
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
post-lists-view-custom/post-lists-view-custom.php 92% from 13 tests
The main file in "Post Lists View Custom" v. 1.7.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,068 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 1,758 | 81 | 2,502 |
PO File | 3 | 172 | 244 | 413 |
CSS | 2 | 20 | 3 | 151 |
JavaScript | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 96.40 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 236.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 103 | 85.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 14.88% |
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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cell_width_not_auto_image.png | 15.59KB | 6.71KB | ▼ 56.93% |
screenshot-5.png | 22.76KB | 9.75KB | ▼ 57.15% |
images/cell_width_auto_image.png | 16.22KB | 7.03KB | ▼ 56.69% |
screenshot-2.png | 20.51KB | 8.92KB | ▼ 56.49% |
screenshot-3.png | 19.73KB | 8.25KB | ▼ 58.17% |