Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.14ms] Passed 4 tests
This is a short check of server-side resources used by Simple Schema Reviews
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.05 | 31.44 ▼7.45 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.29 ▼15.76 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.93 ▼0.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.15 ▼16.69 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 37.46 ▼0.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Simple Schema Reviews: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.20 ▼1.45 | 1.53 ▼0.19 | 39.61 ▼0.11 |
Dashboard /wp-admin | 2,225 ▲36 | 4.86 ▼1.07 | 108.81 ▲6.27 | 41.54 ▼0.75 |
Posts /wp-admin/edit.php | 2,105 ▲34 | 2.05 ▲0.01 | 39.49 ▲2.99 | 33.92 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,527 ▲7 | 17.52 ▼5.27 | 644.93 ▼29.80 | 51.08 ▼4.36 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.23 ▲0.04 | 109.42 ▼3.17 | 46.94 ▲2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-schema-reviews/simple-markup.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-schema-reviews/simple-markup.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Screenshots: Screenshot #1 (Simple Schema Reviews Plugin Option Page) image not found
simple-schema-reviews/simple-options.php 92% from 13 tests
Analyzing the main PHP file in "Simple Schema Reviews" version 1.0.0
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("simple-schema-reviews.php" instead of "simple-options.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
There were no executable files found in this plugin178 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 59 | 178 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 6 | 85.71% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin