Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Parse error in wp-content/plugins/reseller-connection-for-oxxa/reseller-connection-for-oxxa.php+170
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.14ms] Passed 4 tests
Server-side resources used by Reseller Connection for OXXA.com
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.40 ▲0.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.86 ▼5.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.37 ▲6.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.82 ▼15.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.03 ▲0.11 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Reseller Connection for OXXA.com
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.35 | 1.83 ▲0.26 | 37.15 ▼1.50 |
Dashboard /wp-admin | 2,209 ▲18 | 5.84 ▼0.11 | 98.26 ▼8.79 | 40.75 ▲2.33 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.08 | 38.40 ▼1.92 | 34.77 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.11 ▲4.79 | 685.36 ▲80.54 | 53.40 ▲2.59 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.30 ▲0.11 | 94.34 ▼1.41 | 41.99 ▼3.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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 | 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 take a closer look at the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/reseller-connection-for-oxxa/rcfo-domain-price-list.php
- > /wp-content/plugins/reseller-connection-for-oxxa/rcfo-functions.php
- > /wp-content/plugins/reseller-connection-for-oxxa/rcfo-pagelist.php
- > /wp-content/plugins/reseller-connection-for-oxxa/rcfo-check-widget.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/reseller-connection-for-oxxa/reseller-connection-for-oxxa.php on line 170
- > PHP Parse 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)
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 uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== reseller-connection-for-oxxa ===
)
reseller-connection-for-oxxa/reseller-connection-for-oxxa.php Passed 13 tests
The main PHP file in "Reseller Connection for OXXA.com" ver. 0.0.2 adds more information about the plugin and also serves as the entry point for this plugin
122 characters long description:
Reseller Connection for OXXA.com let's your users manage their domainnames with their Wordpress website profile and login.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected456 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 67 | 10 | 345 |
PO File | 1 | 132 | 248 | 111 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 21 | |
▷ Named functions | 21 | 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