Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.19ms] Passed 4 tests
Server-side resources used by SimpleSchema Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.07 ▲3.77 |
Dashboard /wp-admin | 3.47 ▲0.12 | 45.42 ▼14.89 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 47.83 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 89.31 ▼15.05 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 34.74 ▼0.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_localbusiness_schema_widget |
can_compress_scripts |
db_upgraded |
widget_services_schema_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
SimpleSchema Free: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.23 ▼1.46 | 1.61 ▼0.46 | 42.99 ▼1.24 |
Dashboard /wp-admin | 2,212 ▲27 | 5.85 ▼0.05 | 113.46 ▲11.03 | 41.53 ▼1.67 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.03 | 39.41 ▲5.00 | 35.96 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,527 ▲8 | 23.30 ▼0.10 | 648.14 ▲61.63 | 62.69 ▲13.99 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.14 ▼0.10 | 97.77 ▼4.67 | 42.94 ▼1.13 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_services_schema_widget
- widget_localbusiness_schema_widget
- can_compress_scripts
- 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
Everything seems fine, however 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simpleschema-free/simpleschema-free.php:84
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: microdata, editor, itemscope, itemprop, itemtype...
simpleschema-free/simpleschema-free.php 92% from 13 tests
The main PHP script in "SimpleSchema Free" version 1.7.6.9 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 303 characters long)
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
Success! There were no dangerous files found in this plugin898 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 226 | 268 | 583 |
JavaScript | 3 | 35 | 230 | 301 |
CSS | 3 | 3 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.80 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
No PNG files were detected