Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.60ms] Passed 4 tests
Analyzing server-side resources used by Shortfundly Shortfundly Widget and Shortcode
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.31 ▲3.07 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.35 ▼6.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.16 ▲0.32 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.93 ▼10.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.78 ▼2.22 |
Top Rated Films /wp-admin/options-general.php?page=shortfundly_plugin | 3.24 | 36.60 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_shortfundly_plugin_widget |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Shortfundly Shortfundly Widget and Shortcode: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲39 | 14.26 ▼0.11 | 2.01 ▼0.08 | 43.44 ▼0.40 |
Dashboard /wp-admin | 2,204 ▲30 | 5.62 ▼0.07 | 87.73 ▼21.44 | 37.28 ▼8.73 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▼0.02 | 34.09 ▼1.34 | 34.95 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,544 ▼1 | 22.97 ▼0.58 | 621.34 ▼24.33 | 57.59 ▲1.92 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.21 ▼0.02 | 99.49 ▼4.07 | 43.60 ▼1.53 |
Top Rated Films /wp-admin/options-general.php?page=shortfundly_plugin | 911 | 2.05 | 22.78 | 26.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_shortfundly_plugin_widget
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/shortfundly/inc/widget-fields.php
- > /wp-content/plugins/shortfundly/inc/options-page-wrapper.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=shortfundly_plugin
- > Network (severe)
wp-content/plugins/shortfundly-plugin-backend.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: shortfilms, top rated shortfilms, videos, widget, shortcode...
shortfundly/shortfundly-plugin.php 92% from 13 tests
The main file in "Shortfundly Shortfundly Widget and Shortcode" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("shortfundly.php" instead of "shortfundly-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin397 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 167 | 57 | 313 |
CSS | 2 | 22 | 8 | 84 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 10 | |
▷ Named functions | 10 | 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
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