Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.57ms] Passed 4 tests
Server-side resources used by Zengin Sipa Rich Snippets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 43.23 ▲3.80 |
Dashboard /wp-admin | 3.57 ▲0.23 | 53.63 ▼5.78 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 50.21 ▼2.05 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 96.97 ▼2.24 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 39.55 ▲5.79 |
Sipa Rich Snippets /wp-admin/admin.php?page=sipa_admin_settings | 3.45 | 35.95 |
Listing /wp-admin/admin.php?page=sipa_admin_rates | 3.45 | 38.79 |
Manuel Rating /wp-admin/admin.php?page=sipa_admin_make_rate | 3.40 | 34.53 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_sipa_rating |
wp_sipa_settings |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Zengin Sipa Rich Snippets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲204 | 13.67 ▼0.98 | 10.66 ▲9.05 | 45.05 ▲4.27 |
Dashboard /wp-admin | 2,230 ▲42 | 4.85 ▼0.26 | 127.64 ▲17.63 | 64.46 ▲23.52 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.00 ▼0.06 | 34.53 ▼7.63 | 34.03 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,569 ▲25 | 19.16 ▲0.94 | 584.95 ▼17.87 | 52.75 ▲4.92 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.19 ▲0.00 | 96.17 ▼1.67 | 39.74 ▼2.62 |
Sipa Rich Snippets /wp-admin/admin.php?page=sipa_admin_settings | 1,099 | 2.02 | 24.38 | 28.63 |
Listing /wp-admin/admin.php?page=sipa_admin_rates | 929 | 2.06 | 24.95 | 29.98 |
Manuel Rating /wp-admin/admin.php?page=sipa_admin_make_rate | 874 | 2.06 | 25.05 | 28.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_sipa_rating
- wp_sipa_settings
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/zengin-sipa-rich-snippets/zengin-sipa.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'GOKSELDB' not found in wp-content/plugins/zengin-sipa-rich-snippets/inc/SipaSettingsDB.php:9
- > PHP Fatal error
Uncaught Error: Class 'GOKSELDB' not found in wp-content/plugins/zengin-sipa-rich-snippets/inc/SipaAdminDB.php:11
- > 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 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:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
zengin-sipa-rich-snippets/zengin-sipa.php 92% from 13 tests
The main file in "Zengin Sipa Rich Snippets" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zengin-sipa-rich-snippets.php" instead of "zengin-sipa.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
No dangerous file extensions were detected2,681 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 549 | 318 | 2,496 |
CSS | 1 | 14 | 3 | 95 |
JavaScript | 1 | 25 | 5 | 90 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 14.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 39 | 31.20% |
▷ Public methods | 79 | 63.20% |
▷ Protected methods | 27 | 21.60% |
▷ Private methods | 19 | 15.20% |
Functions | 15 | |
▷ Named functions | 12 | 80.00% |
▷ Anonymous functions | 3 | 20.00% |
Constants | 14 | |
▷ Global constants | 10 | 71.43% |
▷ Class constants | 4 | 28.57% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/stars_orange.png | 0.78KB | 0.80KB | 0.00% |
assets/img/stars_grey.png | 0.78KB | 0.80KB | 0.00% |