Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.51ms] Passed 4 tests
Analyzing server-side resources used by Nrby Events
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.68 ▼5.83 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.38 ▼4.67 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.39 ▲1.81 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.66 ▼14.88 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.79 ▼0.65 |
Server storage [IO: ▲7.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Nrby Events
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,898 ▲141 | 13.65 ▼0.63 | 10.28 ▲8.37 | 22.69 ▼19.91 |
Dashboard /wp-admin | 2,216 ▲31 | 5.89 ▼0.15 | 106.93 ▼0.03 | 68.71 ▲27.65 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.03 ▼0.03 | 37.02 ▼4.23 | 36.96 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6,599 ▲5,066 | 34.75 ▲11.22 | 1,127.20 ▲457.60 | 40.40 ▼12.55 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.23 ▲0.06 | 92.27 ▼12.80 | 75.23 ▲28.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Nrby Events ===
)
nrby-events/plugin.php 92% from 13 tests
The entry point to "Nrby Events" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nrby-events.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin28,607 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 19,442 |
JavaScript | 20 | 1,396 | 3,372 | 4,424 |
Sass | 3 | 219 | 2 | 2,453 |
CSS | 2 | 487 | 22 | 2,135 |
PHP | 2 | 33 | 43 | 153 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 1.08MB with 0.68MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/OnboardingSuccessful.PNG | 105.02KB | 41.03KB | ▼ 60.93% |
images/EventWidgetFinalFrontView.PNG | 147.86KB | 44.89KB | ▼ 69.64% |
images/WordPressNrbyLogin.PNG | 64.79KB | 28.72KB | ▼ 55.67% |
images/NrbyOnboardingPart1.PNG | 99.70KB | 38.12KB | ▼ 61.76% |
images/ImportedEventsView.PNG | 169.86KB | 58.73KB | ▼ 65.43% |