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.28MB] [CPU: ▲0.82ms] Passed 4 tests
A check of server-side resources used by Ipanema Film Reviews
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 54.55 ▲7.96 |
Dashboard /wp-admin | 3.60 ▲0.29 | 60.26 ▲4.63 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 56.17 ▼7.33 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 101.10 ▼1.99 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 46.45 ▲12.17 |
Film Genre /wp-admin/edit-tags.php?taxonomy=film_reviews_film_type&post_type=film_reviews | 3.51 | 44.80 |
Film Reviews /wp-admin/edit.php?post_type=film_reviews | 3.55 | 50.87 |
Ipanema /wp-admin/options-general.php?page=ifr-settings | 3.48 | 42.90 |
Add New /wp-admin/post-new.php?post_type=film_reviews | 3.65 | 65.59 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
ifr_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ipanema Film Reviews
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲107 | 14.15 ▲1.00 | 12.90 ▲10.99 | 45.51 ▲1.39 |
Dashboard /wp-admin | 2,238 ▲32 | 5.86 ▼0.04 | 94.44 ▼7.06 | 39.75 ▼2.89 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.03 ▲0.03 | 36.43 ▼2.27 | 32.58 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,549 ▲32 | 23.29 ▲5.62 | 595.52 ▼59.56 | 58.18 ▲5.39 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.21 ▼0.02 | 97.82 ▲2.65 | 41.94 ▲0.39 |
Film Genre /wp-admin/edit-tags.php?taxonomy=film_reviews_film_type&post_type=film_reviews | 1,300 | 2.14 | 27.42 | 31.45 |
Film Reviews /wp-admin/edit.php?post_type=film_reviews | 1,217 | 1.95 | 31.21 | 35.72 |
Ipanema /wp-admin/options-general.php?page=ifr-settings | 1,095 | 2.13 | 44.18 | 33.93 |
Add New /wp-admin/post-new.php?post_type=film_reviews | 2,855 | 7.75 | 181.12 | 73.44 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: reviews, picture, popcorn, film, rate...
ipanema-film-reviews/ipanema-film-reviews.php 92% from 13 tests
"Ipanema Film Reviews" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 184 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,344 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 245 | 198 | 1,076 |
PO File | 1 | 111 | 130 | 259 |
CSS | 1 | 1 | 3 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/star-icon-grey.png | 1.20KB | 1.23KB | 0.00% |
media/star-icon.png | 1.48KB | 1.35KB | ▼ 9.08% |
media/mailicon.png | 0.76KB | 0.56KB | ▼ 26.16% |