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.86MB] [CPU: ▼34.20ms] Passed 4 tests
This is a short check of server-side resources used by Press Release Reviews
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.39 ▼11.77 |
Dashboard /wp-admin | 3.08 ▼0.22 | 22.75 ▼32.06 |
Posts /wp-admin/edit.php | 3.08 ▼0.28 | 27.62 ▼21.77 |
Add New Post /wp-admin/post-new.php | 3.08 ▼2.81 | 24.46 ▼67.75 |
Media Library /wp-admin/upload.php | 3.08 ▼0.15 | 24.07 ▼15.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Press Release Reviews
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.59 ▼0.69 | 8.13 ▲6.29 | 47.03 ▲5.09 |
Dashboard /wp-admin | 2,226 ▲38 | 5.81 ▲0.92 | 100.64 ▼6.89 | 39.41 ▼3.83 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.00 ▼0.03 | 39.93 ▼0.63 | 35.96 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 17.79 ▼5.50 | 611.99 ▼71.99 | 51.52 ▼4.06 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.17 ▼0.05 | 103.44 ▼4.19 | 44.52 ▼1.92 |
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
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/press-release-reviews/inc/admin/class-admin.php+117
Undefined variable: ajax_form_page_hook
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/press-release-reviews/inc/admin/views/partials-html-form-view.php
- > /wp-content/plugins/press-release-reviews/inc/frontend/views/html-prwirepro-press-release-newsroom-frontend-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Main screen)
press-release-reviews/press-release-reviews.php Passed 13 tests
The primary PHP file in "Press Release Reviews" version 1.0.0 is used by WordPress to initiate all plugin functionality
129 characters long description:
Display press releases directly from Pressreleasereviews.com directly on your pages or sidebar of your WordPress website or blog.
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
Everything looks great! No dangerous files found in this plugin400 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 2,469 | 515 | 334 |
HTML | 1 | 5 | 0 | 41 |
JavaScript | 2 | 12 | 36 | 25 |
CSS | 2 | 2 | 10 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 3 | 8.82% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin