Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼176.00ms] Passed 4 tests
An overview of server-side resources used by Sepyra Analytics
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 44.34 ▲11.07 |
Dashboard /wp-admin | 2.76 ▼0.30 | 25.33 ▼18.73 |
Posts /wp-admin/edit.php | 2.76 ▼0.35 | 28.52 ▼13.73 |
Add New Post /wp-admin/post-new.php | 2.76 ▼2.67 | 24.98 ▼649.76 |
Media Library /wp-admin/upload.php | 2.76 ▼0.24 | 21.18 ▼21.78 |
Sepyra /wp-admin/options-general.php?page=sepyra | 2.76 | 23.77 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 3 new options
New WordPress options |
---|
id |
sepyra_activated |
code |
Browser metrics Passed 4 tests
A check of browser resources used by Sepyra Analytics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.94 ▲0.41 | 7.74 ▼2.66 | 45.30 ▼11.75 |
Dashboard /wp-admin | 2,974 ▲40 | 5.89 ▼0.04 | 159.15 ▲6.76 | 118.08 ▼9.48 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.02 | 67.16 ▼4.87 | 97.17 ▲10.31 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.47 ▼0.28 | 376.93 ▲4.29 | 113.15 ▼5.86 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.01 ▲0.01 | 151.32 ▼19.10 | 123.52 ▼33.72 |
Sepyra /wp-admin/options-general.php?page=sepyra | 1,021 | 2.09 | 60.36 | 65.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 3 options in the database
- sepyra_activated
- id
- code
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=sepyra
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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 add_action() in wp-content/plugins/sepyra-analytics/sepyra-analitics.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Sepyra Analytics settings page.) image missing
sepyra-analytics/sepyra-analitics.php 85% from 13 tests
The main PHP file in "Sepyra Analytics" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sepyra-analytics.php" instead of "sepyra-analitics.php")
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
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
There were no executable files found in this plugin128 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 21 | 95 |
PO File | 1 | 12 | 10 | 33 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 34.01KB | 12.52KB | ▼ 63.20% |