Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.39ms] Passed 4 tests
Analyzing server-side resources used by wordpress plugin random post slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.57 ▼4.81 |
Dashboard /wp-admin | 3.40 ▲0.09 | 47.92 ▲2.61 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.40 ▲2.22 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.29 ▼5.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.44 ▲3.65 |
Random post slider /wp-admin/options-general.php?page=wordpress-plugin-random-post-slider/wordpress-plugin-random-post-slider.php | 3.29 | 33.58 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 18 new options
New WordPress options |
---|
theysaidso_admin_options |
gopiplus_query_slider |
gopiplus_displayreadmore |
gopiplus_displayimage |
gopiplus_query_posts_orderby |
gopiplus_displaydate |
gopiplus_query_posts_order |
gopiplus_displaytag |
gopiplus_query_posts_category |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by wordpress plugin random post slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 13.59 ▼0.70 | 5.29 ▲3.65 | 39.97 ▼3.38 |
Dashboard /wp-admin | 2,210 ▲28 | 5.79 ▼0.09 | 101.77 ▼20.95 | 36.71 ▼12.96 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.01 | 34.96 ▼5.80 | 33.92 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,525 ▼14 | 23.20 ▼0.01 | 614.57 ▲5.83 | 66.68 ▲11.56 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▲0.03 | 96.33 ▼7.47 | 45.13 ▼2.09 |
Random post slider /wp-admin/options-general.php?page=wordpress-plugin-random-post-slider/wordpress-plugin-random-post-slider.php | 914 | 2.06 | 25.13 | 24.87 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- 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
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wordpress-plugin-random-post-slider/wordpress-plugin-random-post-slider.php:533
- > 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)
There were no browser issues 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
5 plugin tags: wordpress, random, post, slider, plugin
wordpress-plugin-random-post-slider/wordpress-plugin-random-post-slider.php Passed 13 tests
The main file in "wordpress plugin random post slider" v. 10.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
Wordpress plugin random post slider create a post slider on the wordpress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,825 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 113 | 123 | 1,096 |
PHP | 2 | 77 | 27 | 491 |
PO File | 2 | 48 | 64 | 125 |
CSS | 1 | 10 | 9 | 113 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin