Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/step-index-for-relevanssi/step-index-for-relevanssi.php+18
Use of undefined constant RelevanssiStepIndex - assumed 'RelevanssiStepIndex' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.95MB] [CPU: ▼62.57ms] Passed 4 tests
This is a short check of server-side resources used by Step Index For relevanssi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.68 ▼37.39 |
Dashboard /wp-admin | 2.07 ▼1.27 | 5.53 ▼64.00 |
Posts /wp-admin/edit.php | 2.08 ▼1.29 | 6.83 ▼51.29 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.82 | 5.87 ▼97.61 |
Media Library /wp-admin/upload.php | 2.08 ▼1.16 | 5.24 ▼28.80 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Step Index For relevanssi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▼0.00 | 1.93 ▲0.05 | 43.18 ▼0.44 |
Dashboard /wp-admin | 2,198 ▲18 | 5.64 ▼0.03 | 92.08 ▼2.12 | 39.43 ▼7.79 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▲0.03 | 37.14 ▼5.60 | 32.85 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.50 ▲0.36 | 699.90 ▼16.67 | 52.78 ▼2.92 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▲0.05 | 99.15 ▼5.45 | 46.42 ▲3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/step-index-for-relevanssi/step-index-for-relevanssi.php+18
Use of undefined constant RelevanssiStepIndex - assumed 'RelevanssiStepIndex' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/step-index-for-relevanssi/step-index-for-relevanssi.php:18
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: step, continue, automatic, index, relevanssi...
step-index-for-relevanssi/step-index-for-relevanssi.php Passed 13 tests
This is the main PHP file of "Step Index For relevanssi" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Automatically reindex in steps for big indexes on relevanssi
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin59 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 0 | 1 | 39 |
PHP | 1 | 1 | 9 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 3 | 75.00% |
▷ Public methods | 4 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin