Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲321.86ms] 75% from 4 tests
This is a short check of server-side resources used by Triberr
The following require your attention
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 321.86ms on /wp-admin/options-general.php?page=triberr-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.06 ▼9.56 |
Dashboard /wp-admin | 3.41 ▲0.11 | 491.56 ▲438.91 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 491.69 ▲439.34 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 516.62 ▲418.76 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 482.00 ▲446.38 |
Triberr /wp-admin/options-general.php?page=triberr-options | 3.26 | 478.51 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options |
---|
triberr_comments_width |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
triberr_comments_status |
widget_recent-posts |
triberr_comments_bg_color |
Browser metrics Passed 4 tests
Triberr: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.35 ▲0.02 | 2.08 ▼0.08 | 45.36 ▼4.37 |
Dashboard /wp-admin | 2,193 ▲16 | 5.54 ▼0.04 | 86.03 ▼14.62 | 39.20 ▼8.28 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 35.61 ▼0.21 | 36.47 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.31 ▲5.29 | 684.40 ▲44.23 | 53.82 ▼20.55 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.11 ▼0.08 | 95.43 ▼6.47 | 46.50 ▲3.44 |
Triberr /wp-admin/options-general.php?page=triberr-options | 849 | 1.97 | 25.83 | 23.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- widget_recent-comments
- triberr_comments_bg_color
- can_compress_scripts
- triberr_comments_status
- widget_theysaidso_widget
- triberr_comments_width
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/triberr-wordpress-plugin/triberr.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=triberr-options
- > Network (severe)
https://triberr.com/assets/misc/triberr-logo.png - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 39 tag instead of maximum 10
triberr-wordpress-plugin/triberr.php 92% from 13 tests
The principal PHP file in "Triberr" v. 4.1.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("triberr-wordpress-plugin.php" instead of "triberr.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected163 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 75 | 147 |
JavaScript | 1 | 2 | 1 | 15 |
XML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.52MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 16.71KB | 6.30KB | ▼ 62.28% |
assets/icon-256x256.png | 50.24KB | 17.56KB | ▼ 65.04% |
assets/screenshot-1.png | 30.88KB | 15.48KB | ▼ 49.86% |
assets/banner-1544x500.png | 314.53KB | 96.41KB | ▼ 69.35% |
assets/banner-772x250.png | 118.10KB | 31.80KB | ▼ 73.07% |