Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼146.64ms] Passed 4 tests
An overview of server-side resources used by Sign Pantograph Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 33.86 ▲2.40 |
Dashboard /wp-admin | 3.11 ▲0.06 | 41.70 ▼4.66 |
Posts /wp-admin/edit.php | 3.20 ▲0.09 | 40.92 ▼5.51 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 90.22 ▼578.49 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 34.97 ▲2.12 |
Server storage [IO: ▲11.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Sign Pantograph Extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,724 ▲128 | 15.86 ▼0.31 | 9.97 ▼0.70 | 45.96 ▼1.98 |
Dashboard /wp-admin | 2,990 ▲56 | 5.92 ▼0.03 | 153.46 ▲6.53 | 108.94 ▼11.41 |
Posts /wp-admin/edit.php | 2,756 ▲17 | 2.72 ▲0.01 | 65.14 ▼5.01 | 88.69 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,811 ▲128 | 16.86 ▼1.90 | 447.85 ▲41.67 | 134.80 ▲26.12 |
Media Library /wp-admin/upload.php | 1,824 ▲14 | 5.02 ▼0.02 | 172.44 ▲18.32 | 112.70 ▼2.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sign-pantograph-extension/react.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/sign-pantograph-extension/script-react.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
- Screenshots: Add an image for screenshot #1 (Login flow.)
sign-pantograph-extension/index.php 92% from 13 tests
The main file in "Sign Pantograph Extension" v. 0.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sign-pantograph-extension.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected899 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 73 | 350 |
SVG | 1 | 0 | 0 | 350 |
JavaScript | 10 | 0 | 9 | 71 |
JSON | 2 | 0 | 0 | 66 |
HTML | 3 | 9 | 0 | 37 |
CSS | 5 | 0 | 11 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 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
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
react-code/logo512.png | 22.38KB | 10.12KB | ▼ 54.77% |
react-code/favicon.png | 16.07KB | 1.34KB | ▼ 91.66% |
react-code/logo192.png | 8.38KB | 3.98KB | ▼ 52.50% |