Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.48ms] Passed 4 tests
A check of server-side resources used by ReplayBird
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.08 ▲2.25 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.15 ▼19.25 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.29 ▼4.96 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 78.95 ▼22.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.20 ▲1.22 |
ReplayBird /wp-admin/options-general.php?page=replaybird_settings | 3.22 | 31.09 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
replaybird_version |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ReplayBird
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.26 ▼0.97 | 1.79 ▲0.09 | 38.23 ▼6.01 |
Dashboard /wp-admin | 2,212 ▲24 | 4.87 ▼0.03 | 110.68 ▲6.19 | 37.80 ▼4.60 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.03 ▲0.01 | 41.30 ▲1.21 | 34.25 ▼8.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.16 ▲5.55 | 644.28 ▼42.57 | 55.01 ▲2.23 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.09 | 97.68 ▼13.13 | 48.68 ▲1.53 |
ReplayBird /wp-admin/options-general.php?page=replaybird_settings | 822 | 2.01 | 25.16 | 23.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- replaybird_version
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- License uri: Invalid URI found ("")
replaybird/index.php 92% from 13 tests
Analyzing the main PHP file in "ReplayBird" version 2.0.1
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("replaybird.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
There were no executable files found in this plugin219 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 71 | 95 | 195 |
CSS | 1 | 4 | 0 | 24 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 10 | 29.41% |
▷ Public methods | 24 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 29.41% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/logo.png | 11.51KB | 6.00KB | ▼ 47.91% |
src/images/logo-sm.png | 11.51KB | 6.00KB | ▼ 47.91% |
trunk/src/images/logo.png | 11.51KB | 6.00KB | ▼ 47.91% |
trunk/src/images/logo-sm.png | 11.51KB | 6.00KB | ▼ 47.91% |