Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲0.91ms] Passed 4 tests
Analyzing server-side resources used by Extend Rank Math
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 46.22 ▲1.12 |
Dashboard /wp-admin | 3.55 ▲0.25 | 57.07 ▼1.41 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 54.90 ▲2.81 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 97.62 ▲1.11 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 42.26 ▲6.30 |
Extend Rank Math /wp-admin/options-general.php?page=extend_rank_math | 3.38 | 39.41 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
erm_basics |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Extend Rank Math: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,070 ▲299 | 15.23 ▲0.98 | 5.40 ▲3.50 | 44.06 ▲3.06 |
Dashboard /wp-admin | 2,368 ▲180 | 6.61 ▲1.76 | 124.49 ▲14.84 | 37.13 ▼3.38 |
Posts /wp-admin/edit.php | 2,277 ▲188 | 3.64 ▲1.62 | 61.86 ▲19.48 | 37.46 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.70 ▲0.81 | 582.65 ▼95.60 | 36.57 ▼16.11 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.22 ▼0.19 | 84.95 ▼24.94 | 40.53 ▼5.69 |
Extend Rank Math /wp-admin/options-general.php?page=extend_rank_math | 1,038 | 3.44 | 45.52 | 25.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- erm_basics
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/extend-rank-math/admin/partials/rankmath-helper-admin-display.php
- > /wp-content/plugins/extend-rank-math/public/partials/rankmath-helper-public-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=extend_rank_math
- > Network (severe)
wp-content/plugins/extend-rank-math/admin/css/extend-rank-math-admin.css?ver=1.0.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=extend_rank_math
- > Network (severe)
wp-content/plugins/extend-rank-math/admin/js/extend-rank-math-admin.js?ver=1.0.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Settings preview) image required
extend-rank-math/extend-rank-math.php Passed 13 tests
Analyzing the main PHP file in "Extend Rank Math" version 1.0.1
50 characters long description:
Extend Rank Math is a helper plugin for Rank Math.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected666 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 257 | 783 | 660 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 2 | 3.12% |
▷ Public methods | 59 | 92.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.81% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin