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.02MB] [CPU: ▼9.48ms] Passed 4 tests
An overview of server-side resources used by Wp Slider images from posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.15 ▼2.21 |
Dashboard /wp-admin | 3.34 ▼0.01 | 46.81 ▼14.41 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.55 ▼3.10 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.67 ▼18.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.78 ▲0.94 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_text_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Wp Slider images from posts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.21 ▼1.30 | 1.83 ▲0.03 | 46.99 ▲8.42 |
Dashboard /wp-admin | 2,206 ▲20 | 4.85 ▼0.07 | 110.45 ▼0.15 | 42.66 ▼0.63 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.06 ▲0.05 | 39.56 ▼1.39 | 35.68 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 23.29 ▲5.21 | 649.67 ▲20.45 | 62.14 ▲16.02 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.16 ▼0.07 | 103.16 ▲1.23 | 46.64 ▲2.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_text_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-slider-images-from-posts/wp-slider-images-from-posts.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #0, #0 in wp-slider-images-from-posts/assets to your readme.txt
- Screenshots: These screenshots do not have images: #1 (The widget), #2 (Plugin settings page)
wp-slider-images-from-posts/wp-slider-images-from-posts.php 92% from 13 tests
Analyzing the main PHP file in "Wp Slider images from posts" version 2.1
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin191 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 10 | 128 |
CSS | 1 | 0 | 0 | 40 |
PO File | 1 | 5 | 10 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin