Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.88MB] [CPU: ▼35.46ms] Passed 4 tests
A check of server-side resources used by Hyves respect button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.50 ▼5.03 |
Dashboard /wp-admin | 3.07 ▼0.27 | 26.18 ▼33.38 |
Posts /wp-admin/edit.php | 3.08 ▼0.28 | 24.27 ▼24.48 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.81 | 26.42 ▼69.69 |
Media Library /wp-admin/upload.php | 3.08 ▼0.15 | 20.53 ▼14.29 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 13 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
hyvesrespect_breakafter |
hyvesrespect_displaystyle |
hyvesrespect_breakbefore |
widget_theysaidso_widget |
hyvesrespect_stylelayout |
can_compress_scripts |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Hyves respect button
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.17 ▼1.20 | 2.37 ▲0.65 | 44.20 ▲0.81 |
Dashboard /wp-admin | 2,209 ▲21 | 5.84 ▼0.03 | 102.04 ▼2.51 | 40.65 ▼3.44 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.04 ▼0.01 | 39.66 ▼0.08 | 34.17 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.06 ▲0.53 | 643.94 ▼52.92 | 61.37 ▲3.03 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.23 ▲0.02 | 94.46 ▼11.19 | 41.46 ▼2.33 |
Hyves respect /wp-admin/hyvesrespect.php | 26 | 0.44 | 0.08 | 13.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/hyves-respect/hyvesrespect.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/hyvesrespect.php
- > Network (severe)
wp-admin/hyvesrespect.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (Screenshot is showing bottom placed button) image required
hyves-respect/hyvesrespect.php 92% from 13 tests
The primary PHP file in "Hyves respect button" version 1.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("hyves-respect.php" instead of "hyvesrespect.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
There were no executable files found in this plugin360 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 20 | 41 | 241 |
PO File | 2 | 36 | 34 | 99 |
JavaScript | 1 | 0 | 2 | 12 |
CSS | 1 | 1 | 5 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 10 | |
▷ Named functions | 10 | 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
There were not PNG files found in your plugin