Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > User deprecated in wp-includes/functions.php+5453
Function get_all_category_ids is deprecated since version 4.0.0! Use get_terms() instead.
Server metrics [RAM: ▼1.90MB] [CPU: ▼56.98ms] Passed 4 tests
An overview of server-side resources used by Naver Syndication V2
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.11 ▲0.20 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.34 ▼48.47 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.10 ▼49.48 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.62 ▼99.91 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.62 ▼30.04 |
네이버 신디케이션 /wp-admin/options-general.php?page=badr-syndication | 2.05 | 6.46 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
_syndication_yeti |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Naver Syndication V2: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.10 | 1.61 ▼0.06 | 38.42 ▼5.35 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.08 | 97.68 ▲6.51 | 43.15 ▲7.10 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▼0.08 | 34.55 ▼0.95 | 38.44 ▲2.55 |
Add New Post /wp-admin/post-new.php | 6,248 ▲4,719 | 18.75 ▼4.44 | 911.10 ▲248.23 | 81.91 ▲27.79 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▲0.02 | 100.43 ▼6.65 | 46.88 ▲2.62 |
네이버 신디케이션 /wp-admin/options-general.php?page=badr-syndication | 1,248 | 5.15 | 64.43 | 94.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function get_all_category_ids is deprecated since version 4.0.0! Use get_terms() instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=badr-syndication
- > User deprecated in wp-includes/functions.php+5453
Function get_all_category_ids is deprecated since version 4.0.0! Use get_terms() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/badr-naver-syndication/tpl/xml_error.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/badr-naver-syndication/badr-syndication-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/badr-naver-syndication/badr-syndication-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/badr-naver-syndication/badr-syndication-front.php:2
- > PHP Notice
Undefined variable: bResult in wp-content/plugins/badr-naver-syndication/tpl/config.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/badr-naver-syndication/badr-syndication.php:30
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/badr-naver-syndication/badr-syndication-table.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/badr-naver-syndication/tpl/feeds.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/badr-naver-syndication/tpl/config.php:17
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/badr-naver-syndication/badr-syndication-table.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (설정화면), #2 (동작확인), #3 (동작확인중), #4 (연동목록), #5 (링크 색인 확인), #6 (제목 색인 확인)
badr-naver-syndication/badr-syndication.php 85% from 13 tests
"Naver Syndication V2" version 0.8.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("badr-naver-syndication.php" instead of "badr-syndication.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 170 characters long)
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
Everything looks great! No dangerous files found in this plugin992 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 89 | 105 | 711 |
JavaScript | 2 | 39 | 16 | 239 |
CSS | 2 | 7 | 2 | 42 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.17 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 56 | 98.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.75% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
6 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 7.14KB | 3.09KB | ▼ 56.74% |
screenshot-1.png | 20.51KB | 7.38KB | ▼ 64.00% |
screenshot-6.png | 23.11KB | 10.35KB | ▼ 55.23% |
screenshot-4.png | 29.41KB | 12.69KB | ▼ 56.86% |
screenshot-3.png | 10.65KB | 4.38KB | ▼ 58.83% |