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.03MB] [CPU: ▼5.61ms] Passed 4 tests
An overview of server-side resources used by WP tinyForum Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.78 ▼10.16 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.54 ▲0.03 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.33 ▼3.61 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.88 ▼6.97 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.06 ▼1.70 |
WP tinyForum Widget /wp-admin/options-general.php?page=wp-tinyForum-widget-settings | 3.22 | 31.67 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP tinyForum Widget: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▼0.27 | 1.65 ▼0.30 | 40.89 ▼1.36 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼1.02 | 110.86 ▲6.72 | 42.73 ▼0.84 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.00 | 40.22 ▼2.21 | 34.62 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,546 ▲9 | 18.41 ▲0.05 | 597.44 ▼11.75 | 53.02 ▲0.25 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▲0.05 | 95.96 ▼3.27 | 41.15 ▼3.24 |
WP tinyForum Widget /wp-admin/options-general.php?page=wp-tinyForum-widget-settings | 866 | 2.17 | 23.82 | 26.44 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- 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
Good news, no errors were detected
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-tinyforum-widget/wp_tinyForum_widget.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Widget Settings Page), #2 (Display of widget in sidebar)
wp-tinyforum-widget/wp_tinyForum_widget.php 92% from 13 tests
"WP tinyForum Widget" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-tinyforum-widget.php" instead of "wp_tinyForum_widget.php")
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
Good job! No executable or dangerous file extensions detected141 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 13 | 107 |
PO File | 1 | 11 | 10 | 34 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/topic.png | 0.40KB | 0.43KB | 0.00% |
screenshot-2.png | 21.08KB | 4.94KB | ▼ 76.55% |
screenshot-1.png | 47.20KB | 12.50KB | ▼ 73.51% |