Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/pixnet/pixnet_plugin.php+227
file_get_contents(/tmp/pixnet-b984edcdfe562d3f512e5f50c1f1a1ed-personal-rank-cache.txt): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.53ms] Passed 4 tests
A check of server-side resources used by PIXNET Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.57 ▼30.91 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.62 ▼40.44 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.51 ▼38.72 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.77 ▼96.06 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.63 ▼28.45 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
google_verify |
widget_theysaidso_widget |
widget_side_sticker_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for PIXNET Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.57 ▼0.84 | 12.26 ▲10.55 | 38.06 ▼3.88 |
Dashboard /wp-admin | 2,210 ▲29 | 5.58 ▼0.04 | 80.04 ▼20.61 | 41.75 ▼0.20 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.98 ▲0.02 | 32.13 ▼3.53 | 37.59 ▲1.72 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 20.97 ▼2.38 | 550.05 ▼127.53 | 56.84 ▲7.15 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.25 ▲0.07 | 90.77 ▼22.51 | 40.55 ▼7.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/pixnet/pixnet_plugin.php+227
file_get_contents(/tmp/pixnet-b984edcdfe562d3f512e5f50c1f1a1ed-personal-rank-cache.txt): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- google_verify
- widget_side_sticker_widget
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pixnet/resource/view/menu.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/pixnet/libs/widget_sticker.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/pixnet/libs/widget_ksblogger.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/pixnet/libs/widget_mamacakes.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/pixnet/libs/widget_medal.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pixnet/pixnet_plugin.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: website assistant, page view
pixnet/pixnet_plugin.php 92% from 13 tests
"PIXNET Plugin" version 2.9.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("pixnet.php" instead of "pixnet_plugin.php")
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
Everything looks great! No dangerous files found in this plugin603 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 106 | 14 | 515 |
JavaScript | 2 | 5 | 0 | 53 |
CSS | 1 | 8 | 0 | 35 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 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 | 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
No PNG images were found in this plugin