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 gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.37ms] Passed 4 tests
An overview of server-side resources used by AppStore Reviews Viewer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.98 ▲2.94 |
Dashboard /wp-admin | 3.38 ▲0.04 | 50.31 ▼16.84 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.24 ▼3.55 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 95.49 ▼7.74 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 40.28 ▼1.35 |
AppStore Reviews Viewer /wp-admin/options-general.php?page=appstore-reviews-viewer/appstore-review-admin.php | 3.27 | 31.86 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
asrv_options |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for AppStore Reviews Viewer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.66 ▼0.92 | 6.59 ▲4.66 | 42.54 ▼0.50 |
Dashboard /wp-admin | 2,207 ▲19 | 5.79 ▲0.92 | 102.10 ▼2.23 | 40.25 ▼5.74 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.01 | 38.66 ▼1.12 | 34.89 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 22.98 ▼0.19 | 659.82 ▼0.29 | 61.42 ▲2.90 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▲0.02 | 101.52 ▲6.41 | 41.33 ▼4.17 |
AppStore Reviews Viewer /wp-admin/options-general.php?page=appstore-reviews-viewer/appstore-review-admin.php | 1,595 | 2.03 | 24.56 | 32.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/appstore-reviews-viewer/appstore-review-admin.php:27
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/appstore-reviews-viewer/appstore-review.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/appstore-reviews-viewer/appstore-review-admin.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=appstore-reviews-viewer/appstore-review-admin.php
- > Network (severe)
http://button.flattr.com/flattr-badge-large.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
appstore-reviews-viewer/appstore-review.php 85% from 13 tests
The main PHP script in "AppStore Reviews Viewer" version 1.2.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 210 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("appstore-reviews-viewer.php" instead of "appstore-review.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected495 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 82 | 52 | 436 |
CSS | 1 | 8 | 0 | 42 |
JavaScript | 1 | 3 | 0 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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