Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.45ms] Passed 4 tests
An overview of server-side resources used by NodeifyWP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.73 ▲2.02 |
Dashboard /wp-admin | 3.36 ▲0.05 | 52.34 ▼0.48 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 53.37 ▼7.03 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.54 ▼24.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.65 ▲6.77 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by NodeifyWP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.63 ▲0.04 | 1.80 ▼0.00 | 44.88 ▲1.50 |
Dashboard /wp-admin | 2,195 ▲15 | 5.54 ▼0.05 | 89.58 ▲0.14 | 40.35 ▼0.23 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.00 | 39.41 ▲0.83 | 37.21 ▲3.19 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.48 ▲0.41 | 695.03 ▲56.51 | 60.80 ▲12.46 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.21 ▼0.03 | 95.21 ▼13.54 | 44.25 ▼4.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/nodeifywp/API.php:5
- > PHP Fatal error
Uncaught Error: Class 'NodeifyWP\\App' not found in wp-content/plugins/nodeifywp/standard-tags.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: redux, react, javascript, nodejs, node...
nodeifywp/App.php 92% from 13 tests
The main file in "NodeifyWP" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("nodeifywp.php" instead of "App.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin688 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 155 | 348 | 541 |
Markdown | 1 | 61 | 0 | 147 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 25.75 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 28 | 68.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 31.71% |
Functions | 12 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 12 | 100.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
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