Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-netscope/wp-netscope.php+18
Methods with the same name as their class will not be constructors in a future version of PHP; wp_netscope has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼55.14ms] Passed 4 tests
An overview of server-side resources used by WP Netscope
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.38 | 4.20 ▼35.69 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.43 ▼47.77 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 7.85 ▼42.02 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.23 ▼95.06 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 5.25 ▼31.34 |
WP Netscope /wp-admin/options-general.php?page=wp_netscope | 2.10 | 5.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
WP Netscope: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.25 ▼1.34 | 1.88 ▼0.06 | 39.67 ▼5.49 |
Dashboard /wp-admin | 2,210 ▲22 | 5.91 ▲1.03 | 111.54 ▼2.66 | 43.12 ▼1.88 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.06 | 39.51 ▲2.18 | 36.05 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,527 ▲8 | 23.23 ▲0.07 | 685.46 ▲38.40 | 66.66 ▲9.15 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.02 | 103.66 ▲4.92 | 43.40 ▼0.60 |
WP Netscope /wp-admin/options-general.php?page=wp_netscope | 786 | 2.06 | 27.77 | 32.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/wp-netscope/wp-netscope.php+18
Methods with the same name as their class will not be constructors in a future version of PHP; wp_netscope has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_netscope
- > Deprecated in wp-content/plugins/wp-netscope/wp-netscope.php+18
Methods with the same name as their class will not be constructors in a future version of PHP; wp_netscope has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=wp_netscope
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp_netscope
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp_netscope
- > Notice in wp-content/plugins/wp-netscope/wp-netscope.php+117
Trying to access array offset on value of type bool
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-netscope/wp-netscope.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-netscope ===
)
wp-netscope/wp-netscope.php Passed 13 tests
The entry point to "WP Netscope" version 1.0 is a PHP file that has certain tags in its header comment area
104 characters long description:
Netscope is a web-based analytics suite. This plugin installs the necessary tags on your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin93 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 56 | 93 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin