Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.09ms] Passed 4 tests
Analyzing server-side resources used by JaviBola Custom Theme Test
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.75 ▼0.97 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.19 ▼1.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.60 ▼3.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 100.12 ▲14.65 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.38 ▲1.22 |
JaviBola Custom Theme Test /wp-admin/options-general.php?page=jbct | 3.21 | 30.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
jbct_theme |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for JaviBola Custom Theme Test
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.61 ▼0.69 | 2.19 ▲0.00 | 42.02 ▼0.96 |
Dashboard /wp-admin | 2,215 ▲24 | 4.87 ▼0.99 | 108.41 ▲4.14 | 42.88 ▲0.24 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.02 ▼0.04 | 40.49 ▼2.25 | 36.62 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.21 ▲5.72 | 614.87 ▼92.72 | 56.59 ▲6.51 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.23 ▲0.01 | 98.31 ▲0.65 | 43.39 ▼0.42 |
JaviBola Custom Theme Test /wp-admin/options-general.php?page=jbct | 841 | 2.01 | 24.96 | 34.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- jbct_theme
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=jbct
- > Notice in wp-content/plugins/javibola-custom-theme/javibola-custom-theme.php+68
Undefined variable: theme
- > GET request to /wp-admin/options-general.php?page=jbct
- > Notice in wp-content/plugins/javibola-custom-theme/javibola-custom-theme.php+68
Trying to get property 'template' of non-object
SRP 50% 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
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 register_activation_hook() in wp-content/plugins/javibola-custom-theme/javibola-custom-theme.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
javibola-custom-theme/javibola-custom-theme.php Passed 13 tests
Analyzing the main PHP file in "JaviBola Custom Theme Test" version 2.0.5
63 characters long description:
Enabled a Custom Theme if admin is logged for a safely testing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected142 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 11 | 89 |
CSS | 1 | 0 | 0 | 37 |
SVG | 1 | 0 | 1 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 5 | |
▷ Named functions | 5 | 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
PNG images were not found in this plugin