Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/post-list-with-load-more/post-list-with-load-more.php+33
require_once(wp-content/plugins/post-list-with-load-more/vendor/autoload.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.35ms] Passed 4 tests
An overview of server-side resources used by Post List with Load More
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.54 ▼2.20 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.71 ▼5.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.27 ▼6.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.31 ▼6.99 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.84 ▼2.70 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Post List with Load More
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.31 ▼1.08 | 4.20 ▲2.56 | 40.16 ▼2.78 |
Dashboard /wp-admin | 2,209 ▲23 | 4.88 ▼1.02 | 104.98 ▼15.90 | 37.40 ▼9.79 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.01 ▲0.01 | 36.04 ▼1.39 | 30.47 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,544 ▲6 | 23.34 ▲0.19 | 677.81 ▲72.98 | 58.25 ▲6.28 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.18 ▼0.17 | 99.85 ▲1.03 | 47.63 ▲6.47 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Trait 'Post_List_With_Load_More\\Traits\\Singleton' not found in wp-content/plugins/post-list-with-load-more/classes/I18n.php on line 15
- > PHP Fatal error
Trait 'Post_List_With_Load_More\\Traits\\Singleton' not found in wp-content/plugins/post-list-with-load-more/classes/Admin/Settings.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'Post_List_With_Load_More\\Admin\\Settings' not found in wp-content/plugins/post-list-with-load-more/classes/manifest.php:8
- > PHP Fatal error
Trait 'Post_List_With_Load_More\\Traits\\Singleton' not found in wp-content/plugins/post-list-with-load-more/classes/Hooks.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/post-list-with-load-more/src/render.php:19
- > PHP Fatal error
Trait 'Post_List_With_Load_More\\Traits\\Singleton' not found in wp-content/plugins/post-list-with-load-more/classes/Block.php on line 15
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/post-list-with-load-more/classes/Front.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/post-list-with-load-more/build/render.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: post list block, post with read more, lazy loading posts, list block, ajax posts...
post-list-with-load-more/post-list-with-load-more.php Passed 13 tests
The main PHP file in "Post List with Load More" ver. 2.0.1 adds more information about the plugin and also serves as the entry point for this plugin
117 characters long description:
A simplified solution to your posts listing needs. This plugin lets you display the posts list anywhere on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin19,474 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 17,688 |
JavaScript | 5 | 70 | 149 | 869 |
PHP | 11 | 96 | 243 | 724 |
CSS | 2 | 10 | 13 | 62 |
SVG | 1 | 0 | 0 | 52 |
Markdown | 1 | 17 | 0 | 46 |
Sass | 1 | 3 | 0 | 33 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 19 | 73.08% |
▷ Protected methods | 7 | 26.92% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 2 | 28.57% |
▷ Class constants | 5 | 71.43% |
▷ Public constants | 5 | 100.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
PNG images were not found in this plugin