Benchmarks
Plugin footprint 65% 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: ▼1.08MB] [CPU: ▼46.68ms] Passed 4 tests
This is a short check of server-side resources used by WP-SNAP EXT!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▼0.56 | 18.33 ▼25.36 |
Dashboard /wp-admin | 2.94 ▼0.41 | 16.04 ▼43.80 |
Posts /wp-admin/edit.php | 2.94 ▼0.42 | 18.08 ▼31.73 |
Add New Post /wp-admin/post-new.php | 2.94 ▼2.95 | 17.72 ▼85.84 |
Media Library /wp-admin/upload.php | 2.94 ▼0.29 | 15.52 ▼18.43 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_recent-comments |
key_snap_menu |
key_snap_alphabet |
db_upgraded |
key_snap_fancyurlname |
widget_theysaidso_widget |
key_snap_csscls2 |
key_snap_menumisc |
key_snap_exclude |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP-SNAP EXT!
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 13.37 ▼0.93 | 2.12 ▼0.51 | 43.43 ▼4.23 |
Dashboard /wp-admin | 2,213 ▲22 | 5.85 ▼0.05 | 104.60 ▲1.53 | 39.30 ▼3.12 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.06 | 35.01 ▼5.67 | 35.73 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 22.92 ▼0.34 | 657.79 ▲45.97 | 59.28 ▲13.47 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.04 | 97.68 ▼3.97 | 41.22 ▼2.50 |
WP-SNAP Ext! /wp-admin/wp-snap.php | 26 | 0.44 | 0.08 | 15.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- Zombie WordPress options were found after uninstall: 16 options
- theysaidso_admin_options
- key_snap_fancyurlname
- key_snap_menumisc
- key_snap_csscls2
- key_snap_alphabet
- widget_recent-posts
- widget_recent-comments
- key_snap_exclude
- key_snap_fancyurl
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/wp-snap-extended/wp-snap.php:39
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/wp-snap.php
- > Network (severe)
wp-admin/wp-snap.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
wp-snap-extended/wp-snap.php 92% from 13 tests
"WP-SNAP EXT!" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-snap-extended.php" instead of "wp-snap.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected769 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 89 | 45 | 732 |
CSS | 1 | 3 | 0 | 37 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 106.00 |
▷ Minimum class complexity | 106.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 53.50 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 104.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected