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 gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.60ms] Passed 4 tests
A check of server-side resources used by Review Profile Links
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.78 ▲0.79 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.08 ▼1.67 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 53.23 ▲4.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 96.11 ▲7.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.60 ▼0.86 |
Server storage [IO: ▲0.88MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 94 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
ourprofiles_options |
theysaidso_admin_options |
can_compress_scripts |
widget_ourprofiles_widget |
db_upgraded |
widget_recent-posts |
ourprofiles_links |
widget_recent-comments |
ourprofiles_services |
Browser metrics Passed 4 tests
Review Profile Links: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲57 | 14.72 ▲0.20 | 1.89 ▲0.27 | 44.71 ▲2.60 |
Dashboard /wp-admin | 2,210 ▲36 | 5.68 ▲0.02 | 83.01 ▼11.31 | 77.57 ▲27.15 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 1.96 ▼0.07 | 39.52 ▼2.79 | 37.60 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 18.32 ▼4.74 | 686.24 ▲5.98 | 53.07 ▼14.38 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.10 ▼0.11 | 101.43 ▼4.44 | 64.29 ▲20.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_ourprofiles_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- ourprofiles_links
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/our-profiles/our-profiles.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/our-profiles/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/our-profiles/seoauto-sidebar.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-profiles/admin.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/our-profiles/shortcode.php:67
- > PHP Fatal error
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
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
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (What it looks like on a page or post), #2 (What it looks like in WP-admin)
our-profiles/our-profiles.php 92% from 13 tests
This is the main PHP file of "Review Profile Links" version 2.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
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 plugin585 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 80 | 23 | 549 |
XML | 1 | 0 | 0 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
58 PNG files occupy 0.50MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/100x50/Facebook.png | 3.29KB | 2.12KB | ▼ 35.63% |
images/150x75/Yelp.png | 16.20KB | 4.91KB | ▼ 69.67% |
images/100x50/Twitter.png | 4.45KB | 2.56KB | ▼ 42.49% |
images/100x50/Citysearch.png | 2.50KB | 2.31KB | ▼ 7.88% |
images/100x50/Yelp.png | 11.47KB | 3.62KB | ▼ 68.46% |