Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.04MB] [CPU: ▲20.41ms] 75% from 4 tests
This is a short check of server-side resources used by Posts List Designer by Category - List Category Posts Or Recent Posts
The following require your attention
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.04MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.93 ▲5.47 | 61.94 ▲19.75 |
Dashboard /wp-admin | 8.95 ▲5.60 | 71.49 ▲9.56 |
Posts /wp-admin/edit.php | 8.95 ▲5.59 | 77.92 ▲35.18 |
Add New Post /wp-admin/post-new.php | 9.38 ▲3.49 | 106.94 ▲19.63 |
Media Library /wp-admin/upload.php | 8.95 ▲5.72 | 65.67 ▲32.68 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.95 | 60.18 |
Server storage [IO: ▲3.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 209 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
fs_debug_mode |
widget_theysaidso_widget |
db_upgraded |
fs_accounts |
widget_recent-posts |
fs_active_plugins |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Posts List Designer by Category - List Category Posts Or Recent Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲74 | 14.10 ▼0.13 | 1.72 ▲0.09 | 29.45 ▼15.17 |
Dashboard /wp-admin | 2,224 ▲44 | 5.53 ▼0.13 | 99.78 ▲1.76 | 47.90 ▲5.54 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.03 ▲0.07 | 40.92 ▲3.86 | 39.39 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 22.89 ▼0.06 | 648.20 ▼28.29 | 55.21 ▼0.93 |
Media Library /wp-admin/upload.php | 1,432 ▲38 | 4.17 ▼0.06 | 97.30 ▼41.26 | 43.08 ▼29.32 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,084 | 1.66 | 25.40 | 28.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/post-list-designer/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- fs_active_plugins
- fs_accounts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- fs_debug_mode
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/post-list-designer/templates/archive-list/design-1.php:2
- > PHP Notice
Undefined variable: feat_image in wp-content/plugins/post-list-designer/templates/list/design-1.php on line 3
- > PHP Notice
Undefined variable: feat_image in wp-content/plugins/post-list-designer/templates/list/design-1.php on line 12
- > PHP Notice
Undefined variable: show_category in wp-content/plugins/post-list-designer/templates/list/design-2.php on line 14
- > PHP Notice
Undefined variable: feat_image in wp-content/plugins/post-list-designer/templates/list/design-1.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/post-list-designer/templates/ul-list/design-1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/post-list-designer/templates/list/design-2.php:21
- > PHP Notice
Undefined variable: feat_image in wp-content/plugins/post-list-designer/templates/list/design-2.php on line 3
- > PHP Notice
Undefined variable: feat_image in wp-content/plugins/post-list-designer/templates/list/design-2.php on line 2
- > PHP Notice
Undefined variable: feat_image in wp-content/plugins/post-list-designer/templates/list/design-2.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
post-list-designer/post-list-designer.php Passed 13 tests
The main file in "Posts List Designer by Category - List Category Posts Or Recent Posts" v. 3.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
131 characters long description:
Display WordPress Post on your website in List, simple/minimal list and archive list view. Display category wise post list as well.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin35,104 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,266 | 17,523 | 34,184 |
PO File | 8 | 144 | 192 | 425 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 3 | 34 | 59 | 194 |
CSS | 14 | 12 | 7 | 87 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 84.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 1,283 | |
▷ Static methods | 199 | 15.51% |
▷ Public methods | 883 | 68.82% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 383 | 29.85% |
Functions | 111 | |
▷ Named functions | 111 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 151 | |
▷ Global constants | 104 | 68.87% |
▷ Class constants | 47 | 31.13% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/post-list-designer.png | 4.45KB | 0.60KB | ▼ 86.42% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |