Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼10.87ms] Passed 4 tests
Analyzing server-side resources used by Seznam Webmaster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 30.67 ▼13.78 |
Dashboard /wp-admin | 3.43 ▲0.12 | 48.70 ▼5.70 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 50.23 ▼0.25 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 97.05 ▼23.75 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.48 ▲0.86 |
Logy /wp-admin/admin.php?page=seznam-webmaster-logs | 3.32 | 35.15 |
API klíče /wp-admin/admin.php?page=seznam-webmaster-api | 3.32 | 34.02 |
Reindexace webu /wp-admin/admin.php?page=seznam-webmaster-reindex-all | 3.32 | 32.73 |
Stav webu /wp-admin/admin.php?page=seznam-webmaster | 3.32 | 26.88 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Seznam Webmaster
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲111 | 13.28 ▼1.10 | 1.82 ▲0.01 | 44.00 ▼0.07 |
Dashboard /wp-admin | 2,266 ▲78 | 4.92 ▲0.04 | 99.21 ▼8.89 | 41.58 ▲4.01 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.07 ▲0.01 | 42.36 ▼0.72 | 37.14 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,453 ▼89 | 17.90 ▼0.48 | 554.02 ▼109.66 | 47.02 ▼6.16 |
Media Library /wp-admin/upload.php | 1,442 ▲57 | 4.28 ▲0.04 | 102.39 ▼5.29 | 46.12 ▲1.92 |
Logy /wp-admin/admin.php?page=seznam-webmaster-logs | 817 | 2.09 | 26.06 | 26.91 |
API klíče /wp-admin/admin.php?page=seznam-webmaster-api | 891 | 2.09 | 25.31 | 30.80 |
Reindexace webu /wp-admin/admin.php?page=seznam-webmaster-reindex-all | 874 | 2.23 | 26.41 | 26.73 |
Stav webu /wp-admin/admin.php?page=seznam-webmaster | 831 | 2.09 | 26.13 | 22.60 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seznam-webmaster/seznam-webmaster.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
There were not plugin tags detected
seznam-webmaster/seznam-webmaster.php 92% from 13 tests
The primary PHP file in "Seznam Webmaster" version 1.4.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin929 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 151 | 189 | 902 |
JavaScript | 1 | 4 | 0 | 27 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/metatag.png | 1.93KB | 1.73KB | ▼ 10.24% |