Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.78ms] Passed 4 tests
An overview of server-side resources used by Recent Posts Ultimate
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.09 ▼4.31 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.98 ▼5.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.05 ▼4.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 92.02 ▲6.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.72 ▼1.53 |
BD Plugins /wp-admin/admin.php?page=bearlydoug | 3.21 | 32.83 |
Recent Posts Ultimate /wp-admin/admin.php?page=rpu | 3.28 | 34.40 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Recent Posts Ultimate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲62 | 14.35 ▲0.18 | 1.74 ▲0.13 | 43.48 ▼1.10 |
Dashboard /wp-admin | 2,230 ▲53 | 5.70 ▲0.14 | 80.65 ▼17.36 | 91.30 ▲48.88 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.99 ▲0.05 | 37.98 ▼2.28 | 35.90 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,707 ▲181 | 22.19 ▼0.71 | 708.89 ▲48.70 | 50.63 ▲0.26 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.23 ▲0.01 | 94.46 ▼17.93 | 74.24 ▲26.81 |
BD Plugins /wp-admin/admin.php?page=bearlydoug | 1,425 | 2.01 | 26.17 | 38.05 |
Recent Posts Ultimate /wp-admin/admin.php?page=rpu | 2,150 | 1.76 | 32.18 | 93.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 25% 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 no errors were found, this is by no means an exhaustive test
SRP 0% 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 items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/recent-posts-ultimate/images/index.php
- > /wp-content/plugins/recent-posts-ultimate/includes/index.php
- > /wp-content/plugins/recent-posts-ultimate/rpu.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recent-posts-ultimate/functions-bd.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/recent-posts-ultimate/includes/BDPluginsNews.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=bearlydoug
- > Network (severe)
wp-content/plugins/recent-posts-ultimate/images/gutenborg.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=bearlydoug
- > Network (severe)
wp-content/plugins/recent-posts-ultimate/images/disable-gutenberg-plugin-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: categories, custom post types, recent posts, excerpts, posts...
recent-posts-ultimate/rpu.php 85% from 13 tests
The entry point to "Recent Posts Ultimate" version 1.0.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("recent-posts-ultimate.php" instead of "rpu.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 315 characters long)
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
No dangerous file extensions were detected1,411 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 97 | 308 | 709 |
CSS | 2 | 79 | 37 | 458 |
JavaScript | 2 | 21 | 3 | 244 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vimeo.png | 0.55KB | 0.67KB | 0.00% |