Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.58MB] [CPU: ▼21.74ms] Passed 4 tests
Analyzing server-side resources used by WriteAid Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.16 | 53.58 ▲6.11 |
Dashboard /wp-admin | 3.72 ▲0.09 | 49.72 ▼18.67 |
Posts /wp-admin/edit.php | 3.78 ▲0.10 | 53.08 ▲1.03 |
Add New Post /wp-admin/post-new.php | 3.53 ▼2.62 | 42.92 ▼69.56 |
Media Library /wp-admin/upload.php | 3.58 ▲0.10 | 38.59 ▲0.24 |
WriteAid /wp-admin/options-general.php?page=writeaid-integration | 3.56 | 34.95 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WriteAid Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 14.30 ▼0.07 | 1.73 ▼0.19 | 40.29 ▼9.82 |
Dashboard /wp-admin | 2,221 ▲50 | 5.65 ▼0.02 | 93.22 ▼36.98 | 39.43 ▼4.38 |
Posts /wp-admin/edit.php | 2,127 ▲45 | 2.02 ▼0.03 | 41.43 ▲1.74 | 38.60 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,560 ▲15 | 23.44 ▲0.38 | 666.29 ▲10.96 | 48.73 ▼4.33 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.23 ▲0.02 | 100.89 ▼5.82 | 45.97 ▲0.25 |
WriteAid /wp-admin/options-general.php?page=writeaid-integration | 866 | 2.20 | 26.89 | 30.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/writeaid-integration/writeaid-integration.php+58
Non-static method Writeaid_Integration_Deactivator::deactivate() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=writeaid-integration
- > Notice in wp-content/plugins/writeaid-integration/admin/partials/writeaid-integration-admin-display.php+31
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/writeaid-integration/admin/partials/writeaid-integration-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: content, remote publishing, write aid, writeaid, writers
writeaid-integration/writeaid-integration.php Passed 13 tests
The main PHP file in "WriteAid Integration" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
104 characters long description:
API integration with your WriteAid.net account. Allows remote content publishing directly from WriteAid.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin528 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 259 | 675 | 528 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 1 | 2.44% |
▷ Public methods | 29 | 70.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 29.27% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin