Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼7.10ms] Passed 4 tests
Server-side resources used by Meeple Like Us Boardgamegeek Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 43.98 ▲0.14 |
Dashboard /wp-admin | 3.61 ▲0.26 | 54.09 ▼12.12 |
Posts /wp-admin/edit.php | 3.73 ▲0.36 | 52.82 ▲1.02 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 90.28 ▼17.45 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 49.43 ▲13.07 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_mlubgg |
New WordPress options |
---|
can_compress_scripts |
AverageWeight |
Publishers |
theysaidso_admin_options |
Designers |
Affiliate |
widget_theysaidso_widget |
Mechanisms |
db_upgraded |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Meeple Like Us Boardgamegeek Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.35 ▲0.00 | 1.73 ▼0.30 | 47.02 ▲2.45 |
Dashboard /wp-admin | 2,195 ▲24 | 5.59 ▼0.09 | 87.08 ▼4.09 | 75.59 ▲31.79 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▼0.03 | 34.04 ▼3.94 | 32.53 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,692 ▲166 | 22.09 ▼1.56 | 736.07 ▲55.15 | 50.17 ▼2.89 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.15 ▲0.05 | 111.30 ▼2.25 | 76.82 ▲27.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 15 options in the database
- Mechanisms
- db_upgraded
- widget_recent-posts
- BggRank
- AverageWeight
- Artists
- Designers
- PlayCount
- widget_theysaidso_widget
- can_compress_scripts
- ...
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 | 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/meeple-like-us-boardgamegeek/bgg.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/meeple-like-us-boardgamegeek/bgg.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: boardgamegeek, gaming, accessibility, boardgame
meeple-like-us-boardgamegeek/bgg.php 92% from 13 tests
"Meeple Like Us Boardgamegeek Plugin" version 1.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("meeple-like-us-boardgamegeek.php" instead of "bgg.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,405 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 512 | 103 | 1,405 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 45 | |
▷ Named functions | 45 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 1.26KB | 1.32KB | 0.00% |