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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.22ms] Passed 4 tests
Analyzing server-side resources used by Pro Author Review
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.48 ▼5.91 |
Dashboard /wp-admin | 3.43 ▲0.08 | 48.60 ▼16.83 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.85 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.06 ▼20.05 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.17 ▲3.38 |
Settings /wp-admin/edit.php?post_type=parreview&page=pro-author-review | 3.26 | 32.44 |
Add new /wp-admin/post-new.php?post_type=parreview | 3.33 | 43.35 |
All reviews /wp-admin/edit.php?post_type=parreview | 3.33 | 37.74 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 70 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
pro_author_review |
widget_pro_author_reviews |
Browser metrics Passed 4 tests
Pro Author Review: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.72 ▲0.14 | 1.93 ▼0.21 | 42.10 ▲0.67 |
Dashboard /wp-admin | 2,226 ▲46 | 5.63 ▼0.03 | 86.12 ▼12.10 | 40.82 ▼2.05 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.02 ▲0.00 | 38.55 ▼3.91 | 33.63 ▼3.30 |
Add New Post /wp-admin/post-new.php | 6,322 ▲4,796 | 26.45 ▲3.33 | 955.49 ▲350.18 | 39.74 ▼4.68 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.27 ▲0.04 | 96.68 ▼6.08 | 43.43 ▼5.06 |
Settings /wp-admin/edit.php?post_type=parreview&page=pro-author-review | 827 | 2.03 | 23.86 | 25.88 |
Add new /wp-admin/post-new.php?post_type=parreview | 1,619 | 3.02 | 56.48 | 33.78 |
All reviews /wp-admin/edit.php?post_type=parreview | 1,095 | 1.99 | 31.03 | 31.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_pro_author_reviews
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- pro_author_review
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3 in pro-author-review/assets to your readme.txt
pro-author-review/pro-author-review.php Passed 13 tests
The entry point to "Pro Author Review" version 1.1 is a PHP file that has certain tags in its header comment area
44 characters long description:
Allows a post author or users to rate posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin11,433 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 2,086 | 630 | 7,670 |
PHP | 18 | 516 | 377 | 2,404 |
CSS | 9 | 154 | 33 | 1,345 |
SVG | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 21 | 26.92% |
▷ Public methods | 59 | 75.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 24.36% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 2 | 13.33% |
▷ Class constants | 13 | 86.67% |
▷ Public constants | 13 | 100.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
No PNG images were found in this plugin