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.29MB] [CPU: ▲0.99ms] Passed 4 tests
A check of server-side resources used by Awesome Comment Rating
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 40.50 ▲2.62 |
Dashboard /wp-admin | 3.68 ▲0.38 | 50.13 ▲1.84 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 55.58 ▲9.33 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 93.79 ▼3.24 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 36.92 ▲2.75 |
Awesome Comment Rating /wp-admin/options-general.php?page=awesome-wp-comment-rating | 3.51 | 38.81 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
awcr_bymo_gaming_bar |
awcr_bymo_star_field |
widget_recent-posts |
db_upgraded |
awcr_bymo_shortcodes |
awcr_bymo_gauge_chart |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Awesome Comment Rating
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲214 | 15.04 ▲0.78 | 1.72 ▲0.14 | 44.24 ▲6.71 |
Dashboard /wp-admin | 2,364 ▲173 | 6.73 ▲1.84 | 136.85 ▲34.33 | 43.69 ▼4.38 |
Posts /wp-admin/edit.php | 2,277 ▲188 | 3.51 ▲1.46 | 55.90 ▲15.85 | 32.21 ▼5.61 |
Add New Post /wp-admin/post-new.php | 1,687 ▲173 | 22.08 ▲4.49 | 633.39 ▼3.98 | 36.97 ▼11.07 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.29 ▲0.07 | 80.09 ▼19.78 | 40.60 ▼2.64 |
Awesome Comment Rating /wp-admin/options-general.php?page=awesome-wp-comment-rating | 2,939 | 4.58 | 129.61 | 29.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 12 options in the database
- awcr_bymo_shortcodes
- theysaidso_admin_options
- widget_recent-comments
- awcr_bymo_gaming_bar
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- awcr_bymo_star_field
- awcr_bymo_google_histogram
- awcr_bymo_basic_settings
- ...
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awesome-wp-comment-rating/init.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/awesome-wp-comment-rating/shortcodes.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/awesome-wp-comment-rating/awesome-wp-comment-rating.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
awesome-wp-comment-rating/awesome-wp-comment-rating.php Passed 13 tests
The entry point to "Awesome Comment Rating" version 1.1 is a PHP file that has certain tags in its header comment area
117 characters long description:
Awesome Comment Rating allows users to provide star rating on comment form of WordPress posts, custom posts or pages.
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
No dangerous file extensions were detected1,545 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 233 | 334 | 1,224 |
CSS | 1 | 16 | 10 | 321 |
PHP code Passed 2 tests
Analyzing 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.37 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
There were not PNG files found in your plugin