Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲2.36MB] [CPU: ▲31.23ms] Passed 4 tests
An overview of server-side resources used by Simple:Press Forum
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.48 ▲2.02 | 71.43 ▲27.78 |
Dashboard /wp-admin | 5.79 ▲2.45 | 82.09 ▲22.21 |
Posts /wp-admin/edit.php | 5.91 ▲2.55 | 88.82 ▲39.33 |
Add New Post /wp-admin/post-new.php | 8.37 ▲2.49 | 130.54 ▲35.61 |
Media Library /wp-admin/upload.php | 5.72 ▲2.49 | 83.06 ▲49.90 |
Server storage [IO: ▲7.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 495 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simple:Press Forum
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲88 | 14.20 ▼0.07 | 1.48 ▼0.22 | 39.01 ▼1.90 |
Dashboard /wp-admin | 2,222 ▲45 | 5.57 ▼0.05 | 94.50 ▼5.07 | 80.27 ▲40.22 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 1.99 ▲0.05 | 38.31 ▼2.15 | 34.89 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,553 ▲24 | 22.20 ▼1.03 | 704.12 ▲41.99 | 53.83 ▼1.07 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.12 ▼0.03 | 108.59 ▲10.78 | 77.10 ▲35.37 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% 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
The following issues need your attention
- 267× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/simplepress/admin/panel-integration/support/spa-integration-save.php
- > /wp-content/plugins/simplepress/admin/panel-toolbox/forms/spa-toolbox-changelog-form.php
- > /wp-content/plugins/simplepress/admin/panel-plugins/forms/spa-plugins-upload-form.php
- > /wp-content/plugins/simplepress/forum/content/sp-list-view-functions.php
- > /wp-content/plugins/simplepress/admin/panel-forums/forms/spa-forums-group-permission-form.php
- > /wp-content/plugins/simplepress/admin/panel-users/ajax/spa-ajax-users-loader.php
- > /wp-content/plugins/simplepress/forum/content/sp-forms.php
- > /wp-content/plugins/simplepress/admin/panel-components/support/spa-components-prepare.php
- > /wp-content/plugins/simplepress/admin/panel-forums/forms/spa-forums-merge-forums-form.php
- > /wp-content/plugins/simplepress/admin/panel-integration/ajax/spa-ajax-integration-langs.php
- 76× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant SP_PLUGIN_DIR - assumed 'SP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/sp-api/sp-api-class-spcuser.php on line 45
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/simplepress/sp-startup/admin/spa-admin-class-spcpluginupgraderskin.php on line 19
- > PHP Warning
Use of undefined constant SPHOMESITE - assumed 'SPHOMESITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/admin/help/troubleshooting/spa-plugin-links.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function SP() in wp-content/plugins/simplepress/sp-startup/forum/sp-forum-constants.php:9
- > PHP Warning
Use of undefined constant SPHOMESITE - assumed 'SPHOMESITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/admin/help/troubleshooting/spa-faq-troubleshooting.php on line 44
- > PHP Fatal error
Uncaught Error: Call to undefined function sp_SectionStart() in wp-content/plugins/simplepress/admin/panel-users/ajax/user-groups.php:3
- > PHP Warning
Use of undefined constant SPHOMESITE - assumed 'SPHOMESITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/admin/help/troubleshooting/spa-codex-links.php on line 74
- > PHP Warning
Use of undefined constant SPHOMESITE - assumed 'SPHOMESITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/admin/help/troubleshooting/spa-codex-links.php on line 80
- > PHP Warning
Use of undefined constant SPHOMESITE - assumed 'SPHOMESITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/admin/help/troubleshooting/spa-faq-troubleshooting.php on line 20
- > PHP Warning
Use of undefined constant SPHOMESITE - assumed 'SPHOMESITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplepress/admin/help/troubleshooting/spa-faq-troubleshooting.php on line 26
- > PHP Warning
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 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #12, #14, #17, #2, #3, #4 in simplepress/assets to your readme.txt
simplepress/sp-control.php 77% from 13 tests
The main PHP script in "Simple:Press Forum" version 6.10.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("simplepress.php" instead of "sp-control.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected59,348 lines of code in 395 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 315 | 10,871 | 14,406 | 49,708 |
JavaScript | 24 | 1,035 | 1,009 | 6,307 |
CSS | 7 | 258 | 206 | 2,944 |
SVG | 47 | 0 | 0 | 333 |
JSON | 1 | 0 | 0 | 33 |
Markdown | 1 | 14 | 0 | 23 |
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.31 |
Average class complexity | 46.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 1 | 2.13% |
Methods | 523 | |
▷ Static methods | 2 | 0.38% |
▷ Public methods | 414 | 79.16% |
▷ Protected methods | 25 | 4.78% |
▷ Private methods | 84 | 16.06% |
Functions | 1,040 | |
▷ Named functions | 1,039 | 99.90% |
▷ Anonymous functions | 1 | 0.10% |
Constants | 152 | |
▷ Global constants | 152 | 100.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
64 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sp-startup/install/resources/objects/avatars/outline-member.png | 2.72KB | 1.23KB | ▼ 54.93% |
sp-startup/install/resources/objects/avatars/outline-guest.png | 2.74KB | 1.25KB | ▼ 54.27% |
admin/resources/css/images/jquery-ui/date-picker/ui-icons_004276_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
resources/images/question.png | 1.14KB | 1.03KB | ▼ 10.32% |
admin/resources/images/sp_NoWrite.png | 1.63KB | 1.34KB | ▼ 18.23% |