Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.35ms] Passed 4 tests
Server-side resources used by Event Organiser Posterboard
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.18 ▼2.91 |
Dashboard /wp-admin | 3.35 ▲0.01 | 51.19 ▼14.71 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.91 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.25 ▼12.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.35 ▲0.28 |
Server storage [IO: ▲0.46MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Event Organiser Posterboard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.59 ▲0.22 | 2.13 ▲0.34 | 44.55 ▼0.15 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.03 | 88.37 ▼18.28 | 39.24 ▼4.00 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 1.99 ▲0.03 | 34.42 ▼0.12 | 35.81 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.02 ▲0.00 | 635.10 ▲2.46 | 50.42 ▼7.17 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▲0.01 | 96.85 ▼5.52 | 44.94 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/event-organiser-posterboard/event-organiser-posterboard.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Event posterboard), #2 (Event posterboard)
event-organiser-posterboard/event-organiser-posterboard.php Passed 13 tests
This is the main PHP file of "Event Organiser Posterboard" version 3.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
Display events in as a responsive posterboard.
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
No dangerous file extensions were detected614 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 56 | 19 | 224 |
PHP | 1 | 50 | 32 | 208 |
Markdown | 1 | 55 | 0 | 99 |
PO File | 2 | 6 | 16 | 40 |
HTML | 1 | 9 | 0 | 23 |
CSS | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.42MB with 0.27MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 249.34KB | 86.58KB | ▼ 65.28% |
screenshot-1.png | 182.62KB | 68.00KB | ▼ 62.77% |