Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.93ms] Passed 4 tests
An overview of server-side resources used by Reputationgenius
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.58 ▼9.42 |
Dashboard /wp-admin | 3.41 ▲0.11 | 53.14 ▼1.59 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.35 ▼0.77 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 105.65 ▲9.13 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.95 ▲4.06 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 17 new options
New WordPress options |
---|
text_color |
theysaidso_admin_options |
widget_recent-comments |
latest_comments_download |
stars_hidden_color |
feed_type |
widget_theysaidso_widget |
landing_page_url |
comments_cache_expiration |
rss_feed_url |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Reputationgenius
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.81 ▲0.58 | 1.83 ▲0.07 | 43.81 ▼0.49 |
Dashboard /wp-admin | 2,222 ▲31 | 5.05 ▲0.19 | 108.14 ▲1.60 | 39.06 ▼3.59 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.13 ▲0.16 | 35.43 ▼0.32 | 32.20 ▼5.28 |
Add New Post /wp-admin/post-new.php | 1,549 ▲15 | 23.39 ▲0.20 | 664.23 ▲43.24 | 59.54 ▲5.14 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.13 ▼0.08 | 101.35 ▲2.68 | 44.10 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/begenius-reputationgenius/begenius-reputationgenius.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Begenius\\Plugin' not found in wp-content/plugins/begenius-reputationgenius/Reputationgenius/class-reputationgenius.php:11
- > PHP Notice
Undefined variable: plugin in wp-content/plugins/begenius-reputationgenius/views/options_page.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function options() on null in wp-content/plugins/begenius-reputationgenius/views/templates/hotel_master.php:4
- > PHP Fatal error
Uncaught Error: Class 'Begenius\\PluginOption' not found in wp-content/plugins/begenius-reputationgenius/vendor/Begenius/class-dropdownoption.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function options() on null in wp-content/plugins/begenius-reputationgenius/views/templates/custom.php:3
- > PHP Fatal error
Uncaught Error: Class 'Begenius\\Serializer' not found in wp-content/plugins/begenius-reputationgenius/vendor/Begenius/class-xmlserializer.php:7
- > PHP Notice
Undefined variable: plugin in wp-content/plugins/begenius-reputationgenius/views/templates/custom.php on line 3
- > PHP Notice
Undefined variable: plugin in wp-content/plugins/begenius-reputationgenius/views/templates/hotel_master.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Begenius\\PluginOption' not found in wp-content/plugins/begenius-reputationgenius/vendor/Begenius/class-coloroption.php:7
- > PHP Fatal error
Uncaught Error: Class 'Begenius\\PluginConfiguration' not found in wp-content/plugins/begenius-reputationgenius/Reputationgenius/class-rgconfiguration.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: "none"
- Screenshots: Add an image for screenshot #1 (http://comments.reputationgenius.it/bg-reputationgenius/bg-reputationgenius-screenshot-1.jpg)
begenius-reputationgenius/begenius-reputationgenius.php 92% from 13 tests
The main PHP script in "Reputationgenius" version 1.1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin1,380 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 227 | 19 | 1,090 |
PO File | 5 | 101 | 53 | 289 |
JavaScript | 1 | 1 | 2 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 4 | 22.22% |
▷ Concrete classes | 14 | 77.78% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 10 | 14.49% |
▷ Public methods | 61 | 88.41% |
▷ Protected methods | 7 | 10.14% |
▷ Private methods | 1 | 1.45% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.26KB | 0.21KB | ▼ 83.75% |