Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.33ms] Passed 4 tests
Analyzing server-side resources used by OU Social Network
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.86 ▼2.84 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.51 ▼1.74 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.05 ▼0.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 95.17 ▼0.14 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.38 ▲1.95 |
OU Social Network /wp-admin/options-general.php?page=ou_sn_option | 3.23 | 32.12 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 47 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_ousocialnetworkfriends |
wp_ousocialnetworkprofile |
wp_ousocialnetworwall |
wp_ousocialnetworkmessage |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
jal_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for OU Social Network
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.66 ▼0.77 | 5.05 ▲3.22 | 40.65 ▼3.35 |
Dashboard /wp-admin | 2,213 ▲25 | 4.89 ▼0.03 | 98.78 ▼2.29 | 40.25 ▼5.51 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.04 | 38.69 ▲0.68 | 36.37 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.44 ▼0.82 | 603.63 ▼16.59 | 66.95 ▲3.34 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.08 | 95.49 ▼2.73 | 42.44 ▼4.00 |
OU Social Network /wp-admin/options-general.php?page=ou_sn_option | 784 | 2.01 | 24.99 | 29.23 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- jal_db_version
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Screenshot 3) image missing
ou-social-network/index.php 85% from 13 tests
The principal PHP file in "OU Social Network" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ou-social-network.php" instead of "index.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
No dangerous file extensions were detected3,904 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 566 | 37 | 3,830 |
CSS | 1 | 7 | 0 | 74 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 33 | |
▷ Named functions | 33 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 12.42KB | 4.95KB | ▼ 60.11% |
images/facebook.png | 10.56KB | 3.96KB | ▼ 62.51% |
images/twitter.png | 9.72KB | 4.36KB | ▼ 55.13% |
screenshot-1.png | 53.67KB | 17.36KB | ▼ 67.65% |
screenshot-3.png | 14.19KB | 5.84KB | ▼ 58.85% |