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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼11.03ms] Passed 4 tests
Analyzing server-side resources used by Display Posts - Easy lists, grids, navigation, and more
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.73 ▼3.34 |
Dashboard /wp-admin | 3.39 ▲0.05 | 52.17 ▼13.68 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 53.36 ▼0.89 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 88.26 ▼26.22 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 41.48 ▲2.30 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Display Posts - Easy lists, grids, navigation, and more
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.74 ▲0.36 | 1.81 ▲0.25 | 44.21 ▲1.22 |
Dashboard /wp-admin | 2,221 ▲15 | 5.87 ▼0.04 | 111.95 ▲9.49 | 42.23 ▼4.62 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.03 | 33.79 ▼8.66 | 34.95 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.16 ▲0.06 | 674.15 ▲64.51 | 54.05 ▲6.70 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.34 ▲0.11 | 109.43 ▲8.66 | 48.50 ▲3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/display-posts-shortcode/display-posts-shortcode.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
7 plugin tags: display, list, posts, page, shortcode...
display-posts-shortcode/display-posts-shortcode.php Passed 13 tests
This is the main PHP file of "Display Posts - Easy lists, grids, navigation, and more" version 3.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
Display a listing of posts using the [display-posts] shortcode
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
Everything looks great! No dangerous files found in this plugin729 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 103 | 237 | 553 |
Markdown | 2 | 46 | 0 | 176 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.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
No PNG files were detected