Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼152.57ms] Passed 4 tests
Server-side resources used by Wordpress Horizontal Full Categories - ByREV
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 37.10 ▲0.74 |
Dashboard /wp-admin | 3.10 ▲0.05 | 43.62 ▼4.05 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 40.82 ▼8.29 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 90.24 ▼598.69 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 33.75 ▲1.25 |
ByREV Full Categories /wp-admin/options-general.php?page=byrev-horizontal-full-categories | 3.01 | 30.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 2 new options
New WordPress options |
---|
ByREV_Full_Categories |
ByREV_Full_Categories_Cache |
Browser metrics Passed 4 tests
Checking browser requirements for Wordpress Horizontal Full Categories - ByREV
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,715 ▲119 | 16.27 ▲0.66 | 12.99 ▲4.50 | 45.15 ▼7.80 |
Dashboard /wp-admin | 2,975 ▲41 | 5.94 ▼0.05 | 151.71 ▲6.25 | 106.55 ▼3.02 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 64.11 ▼1.75 | 83.73 ▼8.52 |
Add New Post /wp-admin/post-new.php | 1,686 ▼2,001 | 18.47 ▲3.37 | 408.50 ▼89.70 | 107.47 ▼11.76 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.00 ▼0.02 | 147.26 ▼5.95 | 112.18 ▼11.94 |
ByREV Full Categories /wp-admin/options-general.php?page=byrev-horizontal-full-categories | 1,269 | 2.08 | 60.20 | 75.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/horizontal-full-categories-wordpress-plugin/byrev_horizontal_full_category.php:88
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% 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
5 plugin tags: affiliate, shutterstock, photograpy, ads, api
horizontal-full-categories-wordpress-plugin/byrev_horizontal_full_category.php 85% from 13 tests
The primary PHP file in "Wordpress Horizontal Full Categories - ByREV" version 1.2b is used by WordPress to initiate all plugin functionality
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 ("horizontal-full-categories-wordpress-plugin.php" instead of "byrev_horizontal_full_category.php")
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1.2b")
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
No dangerous file extensions were detected164 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 12 | 164 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin