Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.03MB] [CPU: ▼144.52ms] Passed 4 tests
A check of server-side resources used by IP.Suite ( IP.Board 4 ) Latest Topics in Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.62 ▼0.10 | 26.07 ▲5.29 |
Dashboard /wp-admin | 3.11 ▲0.05 | 44.67 ▲1.80 |
Posts /wp-admin/edit.php | 2.99 ▼0.12 | 29.51 ▼11.60 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 88.31 ▼565.17 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 28.54 ▼3.12 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for IP.Suite ( IP.Board 4 ) Latest Topics in Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,720 ▲124 | 15.89 ▲0.23 | 8.15 ▼0.29 | 46.79 ▼2.64 |
Dashboard /wp-admin | 3,007 ▲73 | 5.91 ▼0.21 | 139.26 ▲3.09 | 107.77 ▼11.52 |
Posts /wp-admin/edit.php | 2,754 ▲18 | 2.69 ▲0.01 | 62.70 ▼5.30 | 83.70 ▼7.78 |
Add New Post /wp-admin/post-new.php | 1,682 ▼1 | 18.98 ▲0.01 | 368.51 ▲14.52 | 106.49 ▼14.46 |
Media Library /wp-admin/upload.php | 1,822 ▲12 | 5.03 ▲0.00 | 159.27 ▲6.90 | 114.90 ▼4.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ipsuite-latest-topics/IPSLatest.php:57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Contributors: Please add at least on tag
- Screenshots: Please add an image for screenshot #1 (A View of Plugin Working in Twentythirteen Theme)
- Contributors: The plugin contributors field is missing
ipsuite-latest-topics/IPSLatest.php 92% from 13 tests
The main PHP script in "IP.Suite ( IP.Board 4 ) Latest Topics in Wordpress" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ipsuite-latest-topics.php" instead of "IPSLatest.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected181 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 14 | 181 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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
No PNG images were found in this plugin