Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.36MB] [CPU: ▼9.20ms] Passed 4 tests
Analyzing server-side resources used by Inline Navi
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.29 ▼36.29 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.88 ▼2.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.26 ▼0.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.34 ▲2.55 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.98 ▲3.99 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Inline Navi
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲158 | 13.74 ▼0.89 | 5.32 ▲3.67 | 44.50 ▲2.24 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▲0.98 | 98.79 ▲1.27 | 39.88 ▼8.45 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.01 | 39.15 ▼1.06 | 39.25 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,534 ▼16 | 23.12 ▲4.82 | 627.37 ▼19.40 | 54.14 ▲2.58 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.10 | 92.08 ▼9.18 | 42.18 ▼2.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/inline-navi/inline-navi.php:30
- > 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 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
Attributes that require attention:
- Screenshots: Screenshot #1 (Output Sample) image not found
inline-navi/inline-navi.php Passed 13 tests
"Inline Navi" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
81 characters long description:
This plug-in displays the contents of the child page on a parent page with a tab.
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
No dangerous file extensions were detected185 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 31 | 82 |
CSS | 1 | 1 | 0 | 73 |
JavaScript | 1 | 0 | 1 | 30 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/inline_navi_bottom_bg.png | 0.56KB | 1.65KB | 0.00% |
images/inline_navi_top_bg.png | 0.47KB | 1.68KB | 0.00% |
screenshot-1.png | 9.73KB | 6.27KB | ▼ 35.56% |