{"id":1030,"date":"2024-06-05T08:14:44","date_gmt":"2024-06-05T08:14:44","guid":{"rendered":"https:\/\/www.sse.dei.uc.pt\/?p=1030"},"modified":"2024-06-05T08:14:45","modified_gmt":"2024-06-05T08:14:45","slug":"talk-ideas-24th-of-april-2024-jose-dabruzzo-pereira","status":"publish","type":"post","link":"https:\/\/www.sse.dei.uc.pt\/index.php\/2024\/06\/05\/talk-ideas-24th-of-april-2024-jose-dabruzzo-pereira\/","title":{"rendered":"[Talk Ideas] &#8211; 24th of April 2024, Jos\u00e9 D&#8217;Abruzzo Pereira"},"content":{"rendered":"\n<p style=\"color:#892861\" class=\"has-text-color wp-block-paragraph\"><strong>24th of April<\/strong>\u00a0at\u00a016h00,\u00a0<strong>Jos\u00e9 D&#8217;Abruzzo Pereira<\/strong>\u00a0will give a presentation entitled<strong>\u201cA Model-Driven Approach for the Management and Enforcement of Coding Conventions\u201d\u00a0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Bio<\/strong><br>Jos\u00e9 D&#8217;Abruzzo Pereira holds a Ph.D. in Informatics Engineering from the University of Coimbra (UC), is currently an Invited Assistant Professor at the University of Coimbra, and a member of the Software and System Engineering (SSE) group at CISUC. His research interests include security and vulnerability detection, static code analysis, software project management, databases, software quality, and self-adaptive systems. He received a MSc in Information Technology and Software Engineering from the University of Coimbra and Carnegie Mellon University and a BSc. in Computer Science from the State University of Campinas &#8211; Brazil (Unicamp). He is also acting as a professor in the Specialization in Software Engineering at the State University of Campinas &#8211; Brazil (Unicamp).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><strong>Abstract<\/strong><br>Coding conventions are a means to improve the reliability of software systems, and they are especially useful to avoid the introduction of known bugs or security flaws. However, coding rules typically come in the form of text written in natural language, which makes them hard to manage and to enforce. Furthermore, relevant rules may depend from the context in which a certain software is deployed, and they may also evolve over time following the discovery of new vulnerabilities or the introduction of new language features. In this talk, we present an approach for the management and enforcement of coding conventions using structured models. We define the Coding Conventions Specification Language (CCSL), a language to define coding rules as structured specifications, from which checkers are derived automatically by code generation. To evaluate our approach, we run a thorough experiment on 8 real open-source projects and 77 coding rules for the Java language, comparing the violations identified by our checkers with those reported by the PMD static analysis tool. The obtained results are promising and confirm the feasibility of the approach. The experiment also revealed that textual coding rules rarely document all the necessary information to write a reliable checker.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160816-1024x575.jpg\" alt=\"\" data-id=\"1032\" data-full-url=\"https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160816.jpg\" data-link=\"https:\/\/www.sse.dei.uc.pt\/?attachment_id=1032\" class=\"wp-image-1032\" srcset=\"https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160816-1024x575.jpg 1024w, https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160816-300x169.jpg 300w, https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160816-768x431.jpg 768w, https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160816.jpg 1280w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160821-1-1024x575.jpg\" alt=\"\" data-id=\"1033\" data-full-url=\"https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160821-1.jpg\" data-link=\"https:\/\/www.sse.dei.uc.pt\/?attachment_id=1033\" class=\"wp-image-1033\" srcset=\"https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160821-1-1024x575.jpg 1024w, https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160821-1-300x169.jpg 300w, https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160821-1-768x431.jpg 768w, https:\/\/www.sse.dei.uc.pt\/wp-content\/uploads\/2024\/06\/IMAGE-2024-04-24-160821-1.jpg 1280w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure><\/li><\/ul><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>24th of April\u00a0at\u00a016h00,\u00a0Jos\u00e9 D&#8217;Abruzzo Pereira\u00a0will give a presentation entitled\u201cA Model-Driven Approach for the Management and Enforcement of Coding Conventions\u201d\u00a0 BioJos\u00e9 D&#8217;Abruzzo Pereira holds a Ph.D. in Informatics Engineering from the University of Coimbra (UC), is currently an Invited Assistant Professor at the University of Coimbra, and a member of the Software and System Engineering (SSE) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.sse.dei.uc.pt\/index.php\/2024\/06\/05\/talk-ideas-24th-of-april-2024-jose-dabruzzo-pereira\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;[Talk Ideas] &#8211; 24th of April 2024, Jos\u00e9 D&#8217;Abruzzo Pereira&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1031,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,10],"tags":[],"class_list":["post-1030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-events","category-talk-ideas"],"_links":{"self":[{"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/posts\/1030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/comments?post=1030"}],"version-history":[{"count":1,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/posts\/1030\/revisions"}],"predecessor-version":[{"id":1034,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/posts\/1030\/revisions\/1034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/media\/1031"}],"wp:attachment":[{"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/media?parent=1030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/categories?post=1030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sse.dei.uc.pt\/index.php\/wp-json\/wp\/v2\/tags?post=1030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}