Repository navigation
Commit abcb983
authored
plantuml, rules_score: resolve split views as one group (#521)
Allow a view to be split into overview and detail .puml files.
- puml_cli resolves all inputs of a run (--file and --folders) as one
group per diagram kind; only .puml inputs are accepted and the same
--file twice is an error
- component: bodied top-level element attaches to a same-name/type/
stereotype nested declaration in another file; relation targets resolve
across files only when the own file does not know them, sources must be
local (undirected relations belong to the local end)
- class: overview declares a bodyless class, detail adds members; same
group rules as component
- sequence: one file declares the cast, scenarios use aliases
- activity: group equals per-file resolution
- errors: GroupResolveError reports "in <file>: ..."; a file of the
wrong diagram kind reports "expected a Component diagram, found a X
diagram"
- validation: component anchoring check runs in the architectural_design
profile only; class declarations merge when at most one has a body;
internal API interfaces declared in several files are one interface
holding the union of the methods
- rules_score: architectural_design and unit_design run one parser
action per view; static accepts component diagrams only; .plantuml is no
longer accepted (the CLI only took .puml)
- tests: one generic group runner for all resolver tests, new group
fixtures for component and class
- TRLC requirements, docs, skill and seooc example updated249 files changed
Lines changed: 7592 additions & 794 deletions
File tree
- .github/skills/score-architecture
- bazel/rules/rules_score
- docs
- user_guide
- examples/seooc
- design
- unit_2
- docs
- unit_3
- docs
- private
- test
- fixtures/clickable_example
- plantuml
- parser
- docs
- integration_test
- activity_diagram/resolver/group_files_stay_independent
- class_diagram
- group_ambiguous_implicit_parent
- group_ambiguous_peer_reference
- group_bodyless_stays_top_level
- group_cross_file_relation_source
- group_cross_file_relation
- group_implicit_parent_across_files
- group_implicit_parent_cycle
- group_kind_mismatch_stays_top_level
- group_local_alias_name_error
- group_local_wins_over_peer
- component_diagram
- group_ambiguous_implicit_parent
- group_ambiguous_peer_reference
- group_bodyless_stays_top_level
- group_cross_file_relation_source
- group_cross_file_relation
- group_id_only_implicit_parent_match
- group_implicit_parent_across_files
- group_implicit_parent_cycle
- group_kind_mismatch_stays_top_level
- group_local_alias_name_error
- group_local_wins_over_peer
- group_transitive_implicit_parent
- group_undirected_relation_swap
- cross_diagram
- group_mixed_kinds
- sequence_diagram
- group_ambiguous_peer_reference
- group_cast_across_files
- group_lifecycle_per_file
- group_local_wins_over_peer
- src
- puml_cli/src
- puml_resolver
- src
- activity_diagram/tests
- class_diagram
- src
- test
- component_diagram
- src
- tests
- sequence_diagram
- src
- tests
- sphinx/clickable_plantuml
- validation/core
- docs
- requirements
- specifications
- integration_test
- class_design_implementation
- negative_overview_relationship_missing
- positive_overview_and_detail_merge
- positive_overview_relationship_merge
- class_design_sequence
- positive_participant_cast_across_files
- component_internal_api
- negative_interface_missing_from_internal_api_with_suggestion
- negative_interface_missing_from_internal_api
- negative_interfaces_missing_from_internal_api_with_suggestions
- positive_interface_match
- component_model
- negative_component_under_plain_package
- negative_duplicate_component_alias_casefolded
- negative_duplicate_interface_alias_casefolded
- negative_duplicate_unit_alias_casefolded
- negative_top_level_component
- negative_unmerged_detail_declaration
- positive_wrapperless_detail
- component_sequence
- negative_ambiguous_leaf_reference
- negative_missing_interface_connection_for_sequence_connected_units
- negative_missing_participant
- negative_missing_sequence_interaction_for_interface_connected_units
- negative_missing_unit_interface_relation
- negative_mixed_mismatch
- negative_orphan_participant
- positive_exact_match
- positive_external_callee_in_sequence_return
- positive_external_caller_in_sequence_connection
- positive_leaf_reference
- positive_overview_preserves_unit_bindings
- positive_qualified_reference
- positive_unit_without_alias
- sequence_internal_api
- negative_interface_function_not_exercised
- negative_invalid_consumer_provider_direction
- negative_missing_method_in_available_interfaces_with_suggestion
- positive_internal_api_method_match
- positive_self_call_method_match
- src
- models
- profiles
- validators
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
407 | 415 | | |
408 | 416 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
417 | 443 | | |
418 | 444 | | |
419 | 445 | | |
| |||
434 | 460 | | |
435 | 461 | | |
436 | 462 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
441 | 467 | | |
442 | 468 | | |
443 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
460 | 490 | | |
461 | 491 | | |
462 | 492 | | |
463 | 493 | | |
464 | | - | |
465 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
466 | 497 | | |
467 | 498 | | |
468 | 499 | | |
| |||
476 | 507 | | |
477 | 508 | | |
478 | 509 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
487 | 544 | | |
488 | 545 | | |
489 | 546 | | |
| |||
517 | 574 | | |
518 | 575 | | |
519 | 576 | | |
520 | | - | |
| 577 | + | |
521 | 578 | | |
522 | 579 | | |
523 | 580 | | |
524 | | - | |
| 581 | + | |
525 | 582 | | |
526 | 583 | | |
527 | 584 | | |
| |||
609 | 666 | | |
610 | 667 | | |
611 | 668 | | |
612 | | - | |
| 669 | + | |
613 | 670 | | |
614 | 671 | | |
615 | 672 | | |
| |||
0 commit comments