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.07MB] [CPU: ▼4.38ms] Passed 4 tests
Server-side resources used by Reviews for freelancehunt
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.72 ▲1.45 |
Dashboard /wp-admin | 3.38 ▲0.07 | 63.88 ▲12.46 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 51.33 ▲1.02 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.58 ▼15.50 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.77 ▼4.47 |
Freelancehunt reviews /wp-admin/options-general.php?page=freelancehunt_slug | 3.26 | 32.50 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Reviews for freelancehunt
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.25 ▼0.14 | 1.93 ▼0.28 | 44.77 ▼6.41 |
Dashboard /wp-admin | 2,196 ▲22 | 5.53 ▼0.02 | 88.26 ▼14.63 | 37.35 ▼6.44 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▲0.04 | 40.04 ▲3.03 | 37.45 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.40 ▲0.38 | 664.82 ▼17.60 | 62.74 ▲1.89 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▼0.01 | 99.45 ▼13.71 | 42.33 ▼3.33 |
Freelancehunt reviews /wp-admin/options-general.php?page=freelancehunt_slug | 788 | 2.00 | 25.26 | 28.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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 following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reviews-for-freelancehunt/freelancehunt-revievs.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: multilingual, freelancehuntcom, reviews for freelancehunt, feedback
reviews-for-freelancehunt/freelancehunt-revievs.php 85% from 13 tests
The entry point to "Reviews for freelancehunt" version 2.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("reviews-for-freelancehunt.php" instead of "freelancehunt-revievs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,221 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 655 |
PHP | 1 | 83 | 17 | 358 |
CSS | 5 | 19 | 135 | 161 |
PO File | 1 | 16 | 17 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.46 |
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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 49.61KB | 24.28KB | ▼ 51.06% |