Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.90ms] Passed 4 tests
Analyzing server-side resources used by IPS Community Recent Topics
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 39.26 ▼7.62 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.27 ▼4.55 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.65 ▼7.64 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 84.26 ▼7.78 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.79 ▼2.75 |
Server storage [IO: ▲0.04MB] [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: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_ipbrecent |
Browser metrics Passed 4 tests
A check of browser resources used by IPS Community Recent Topics
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.24 ▼0.11 | 2.17 ▲0.56 | 45.38 ▲0.98 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.13 | 82.58 ▼3.30 | 39.39 ▼7.77 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 34.13 ▲0.39 | 35.11 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.47 ▲0.35 | 678.86 ▲44.25 | 52.82 ▼1.23 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▼0.07 | 97.30 ▼0.67 | 41.00 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_ipbrecent
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/recent-topics-for-ipboard/ipbrecent.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: fields in wp-content/plugins/recent-topics-for-ipboard/helpers/fields.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/recent-topics-for-ipboard/settings.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/recent-topics-for-ipboard/helpers/widget.php:12
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/recent-topics-for-ipboard/helpers/fields.php on line 12
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Add a description for screenshot #4 in recent-topics-for-ipboard/assets to your readme.txt
recent-topics-for-ipboard/ipbrecent.php 85% from 13 tests
The principal PHP file in "IPS Community Recent Topics" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("recent-topics-for-ipboard.php" instead of "ipbrecent.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,009 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 120 | 37 | 451 |
CSS | 2 | 72 | 3 | 441 |
PO File | 1 | 45 | 0 | 104 |
JavaScript | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin