Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.18ms] Passed 4 tests
An overview of server-side resources used by Oxcyon to WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.60 ▲0.09 |
Dashboard /wp-admin | 3.36 ▲0.01 | 50.45 ▼12.86 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.45 ▼0.54 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.72 ▼19.42 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.81 ▲2.54 |
Oxcyon 2 WP /wp-admin/tools.php?page=wp2ox | 3.22 | 31.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/oxcyon-2-wp/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Oxcyon to WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.79 ▲0.19 | 1.98 ▲0.12 | 46.74 ▲0.78 |
Dashboard /wp-admin | 2,225 ▲22 | 5.79 ▲0.73 | 97.95 ▼4.26 | 39.30 ▼6.16 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▼0.02 | 35.86 ▼5.30 | 33.12 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 22.97 ▼0.33 | 653.46 ▼16.84 | 56.00 ▲6.47 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.24 ▲0.04 | 100.26 ▼3.00 | 47.39 ▲0.06 |
Oxcyon 2 WP /wp-admin/tools.php?page=wp2ox | 1,026 | 2.02 | 25.95 | 46.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% 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)
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp2ox
- > Notice in wp-content/plugins/oxcyon-2-wp/admin/wp2ox_admin.php+363
Trying to access array offset on value of type bool
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 fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/oxcyon-2-wp/class_wp2ox_format.php
- > /wp-content/plugins/oxcyon-2-wp/class_wp2ox_tidy.php
- 22× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include(): Failed opening 'WP2OX_DIR/class_wp2ox.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 7
- > PHP Warning
include(): Failed opening 'WP2OX_DIR/class_wp2ox_data.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 13
- > PHP Warning
Use of undefined constant WP2OX_DIR - assumed 'WP2OX_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 23
- > PHP Warning
Use of undefined constant WP2OX_DIR - assumed 'WP2OX_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 19
- > PHP Warning
Use of undefined constant WP2OX_DIR - assumed 'WP2OX_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 13
- > PHP Warning
include(): Failed opening 'WP2OX_DIR/class_wp2ox_category.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 19
- > PHP Warning
include(): Failed opening 'WP2OX_DIR/class_wp2ox_author.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 16
- > PHP Warning
include(WP2OX_DIR/class_wp2ox_category.php): failed to open stream: No such file or directory in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'wp2ox_category' not found in wp-content/plugins/oxcyon-2-wp/class_wp2ox_tag.php:17
- > PHP Warning
include(WP2OX_DIR/class_wp2ox_tag.php): failed to open stream: No such file or directory in wp-content/plugins/oxcyon-2-wp/wp2ox_import.php on line 23
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: oxcyon centralpoint, centralpoint, oxcyon
oxcyon-2-wp/wp2ox_plugin.php 92% from 13 tests
The primary PHP file in "Oxcyon to WordPress" version 0.3.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("oxcyon-2-wp.php" instead of "wp2ox_plugin.php")
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
Good job! No executable or dangerous file extensions detected1,017 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 318 | 681 | 949 |
Markdown | 1 | 40 | 0 | 68 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 2 | 2.94% |
▷ Public methods | 56 | 82.35% |
▷ Protected methods | 7 | 10.29% |
▷ Private methods | 5 | 7.35% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin